fix: routes/[...path] catches requests for _frsh/refresh.js (#130)

This commit is contained in:
Ohkubo KOHEI
2022-03-13 20:36:21 +01:00
committed by GitHub
parent 67b3eb470e
commit 8aa1b250b8
4 changed files with 57 additions and 36 deletions
+2
View File
@@ -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,
+7
View File
@@ -0,0 +1,7 @@
import { Handlers } from "../../../server.ts";
export const handler: Handlers = {
GET(_req, ctx) {
return new Response(ctx.params.all);
},
};