route fix...?
This commit is contained in:
parent
9f8c705224
commit
379fd163fd
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ Bun.serve({
|
|||
async fetch(req) {
|
||||
const url = new URL(req.url);
|
||||
if (url.pathname === "/") return new Response("hello yes this is garf");
|
||||
if (url.pathname === "/api/token") return await token(req);
|
||||
if (url.pathname === "/token") return await token(req);
|
||||
return new Response("garf dont know what want...");
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue