aboutsummaryrefslogtreecommitdiff
path: root/src/main.ts
diff options
context:
space:
mode:
authorMarvin Borner2020-07-18 22:27:48 +0200
committerMarvin Borner2020-07-18 22:27:48 +0200
commitf8cff89de2ef165748362cf0f104e2bf7bf88618 (patch)
tree7c64e49d890aa186f9810a512b03c2eef6d7c27d /src/main.ts
parent317b466e1080166aa6bf40a3766014593cbc95f2 (diff)
Fileview..
Diffstat (limited to 'src/main.ts')
-rw-r--r--src/main.ts1
1 files changed, 1 insertions, 0 deletions
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