aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2025-12-22 15:07:55 +0100
committerAnhgelus Morhtuuzh <william@herges.fr>2025-12-22 15:07:55 +0100
commit84af6427d8205b1882b9f9df11ce394f96d6b792 (patch)
treeae51188d67616069300afd6a19300ff7ed23e7d3 /main.go
parent93c4f9047426f9f56940ed2b733dcde2d98b0c0e (diff)
feat(backend): admin dashboard
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index 3ffe37a..4f2fd6b 100644
--- a/main.go
+++ b/main.go
@@ -89,6 +89,8 @@ func main() {
}
backend.Handle404(r)
+ backend.HandleAdmin(r)
+
backend.HandleStaticFiles(r, "/assets", assetsFS)
backend.HandleStaticFiles(r, "/static", os.DirFS(cfg.PublicFolder))