fix: routes/[...path] catches requests for _frsh/refresh.js (#130)
This commit is contained in:
@@ -3,10 +3,12 @@
|
||||
// To update this file, run `fresh manifest`.
|
||||
|
||||
import * as $0 from "./routes/index.tsx";
|
||||
import * as $1 from "./routes/[...all].ts";
|
||||
|
||||
const manifest = {
|
||||
routes: {
|
||||
"./routes/index.tsx": $0,
|
||||
"./routes/[...all].ts": $1,
|
||||
},
|
||||
islands: {},
|
||||
baseUrl: import.meta.url,
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
import { Handlers } from "../../../server.ts";
|
||||
|
||||
export const handler: Handlers = {
|
||||
GET(_req, ctx) {
|
||||
return new Response(ctx.params.all);
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user