JS: Add test with route.ts outside 'api'

This commit is contained in:
Asger F
2025-11-26 10:30:58 +01:00
parent 0414555e43
commit f52f5b63e6

View File

@@ -0,0 +1,4 @@
export async function GET(req: Request) {
const url = req.url; // $ MISSING: Source
return new Response(url, { headers: { "Content-Type": "text/html" } }); // $ MISSING: Alert
}