Move some files so that deno task dev works
This commit is contained in:
@ -5,10 +5,10 @@ Deno.serve((req: Request) => {
|
||||
|
||||
if (pathname.startsWith("/static")) {
|
||||
return serveDir(req, {
|
||||
fsRoot: "src/static",
|
||||
fsRoot: "static",
|
||||
urlRoot: "static",
|
||||
});
|
||||
} else {
|
||||
return serveFile(req, "src/static/index.html");
|
||||
return serveFile(req, "static/index.html");
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user