fix: ensure typescript routes are hit most to least specific

This commit is contained in:
Andy Burke 2025-06-25 20:24:51 -07:00
parent 4f68a64a88
commit 1928bfcb5e
6 changed files with 35 additions and 12 deletions

View file

@ -1,5 +1,6 @@
export function GET(_req: Request, meta: Record<string, any>): Response {
return new Response(meta.params.input ?? '', {
const input = decodeURIComponent(meta.params.input ?? '');
return new Response(input, {
status: 200,
headers: {
'Content-Type': 'text/plain'