diff options
| author | HampusM <hampus@hampusmat.com> | 2021-06-02 20:13:48 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2021-06-02 20:13:48 +0200 |
| commit | 371e3f13e0a046aeca3a2895e4a85f8b51059edf (patch) | |
| tree | 8a98c46931b2fd10bc68b8a75eda99f9848c70f9 /src/app.js | |
| parent | 094de489fcbcbe21fdd6ab89deae09af625a7f7b (diff) | |
Added a tree page
Diffstat (limited to 'src/app.js')
| -rw-r--r-- | src/app.js | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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) => { |
