From f8cff89de2ef165748362cf0f104e2bf7bf88618 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 18 Jul 2020 22:27:48 +0200 Subject: Fileview.. --- src/main.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.ts') diff --git a/src/main.ts b/src/main.ts index 94f8b33..99f605c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -22,6 +22,7 @@ app.static("/public/", "./src/public/"); // Manage static files app.get("/", async (c: Context) => await c.render("./src/views/index.html")); // Render index on / app.get("/files/*", handlePath); +app.get("/files/", handlePath); // Load groups dynamically // deno-lint-ignore ban-ts-comment -- cgit v1.2.3