aboutsummaryrefslogtreecommitdiff
path: root/src/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.js')
-rw-r--r--src/app.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/app.js b/src/app.js
index b05bbcf..8904219 100644
--- a/src/app.js
+++ b/src/app.js
@@ -116,6 +116,15 @@ fastify.register((fastify_repo, opts, done) =>
fastify_repo.route({
method: "GET",
+ path: "/tree/*",
+ handler: async (req, reply) =>
+ {
+ reply.sendFile("app.html");
+ }
+ });
+
+ fastify_repo.route({
+ method: "GET",
path: "/info/refs",
handler: (req, reply) =>
{