diff --git a/server.ts b/server.ts deleted file mode 100644 index 70cb8d2..0000000 --- a/server.ts +++ /dev/null @@ -1,21 +0,0 @@ -import Server from "lume/core/server.ts" -import expires from "lume/middlewares/expires.ts" -import not_found from "lume/middlewares/not_found.ts" - -const port = 8000 - -const server = new Server({ - port: port, - root: `${Deno.cwd()}/dist`, -}) - -server.use(expires()) - -server.use(not_found({ - root: `${Deno.cwd()}/dist`, - page404: "404.html", -})) - -server.start() - -console.log(`Listening on http://localhost:${port}`)