Skip to content

Offsetting tool#43

Open
tgraynz wants to merge 8 commits into
benjamintd:mainfrom
tgraynz:offsetting-tool
Open

Offsetting tool#43
tgraynz wants to merge 8 commits into
benjamintd:mainfrom
tgraynz:offsetting-tool

Conversation

@tgraynz

@tgraynz tgraynz commented May 25, 2026

Copy link
Copy Markdown

Added an offsetting tool for development use only. See updated README for details.

@vercel

vercel Bot commented May 25, 2026

Copy link
Copy Markdown
Contributor

@tgraynz is attempting to deploy a commit to the Benjamin Td Team on Vercel.

A member of the Team first needs to authorize it.

@@ -0,0 +1,30 @@
import { NextResponse } from 'next/server'

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a dev-only route, perhaps it should live as a script, not as a next.js API route ?

@@ -1,37 +1,48 @@
'use client'

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it would be nicer if this tool lived in a separate page, instead of the main component.

Visiting /london/offsets would show the tool, possibly gated by an environment variable or process.env.NODE_ENV == 'development'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants