fix: ensure typescript routes are hit most to least specific
This commit is contained in:
parent
4f68a64a88
commit
1928bfcb5e
6 changed files with 35 additions and 12 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue