aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2025-10-03 11:36:22 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2025-10-03 11:49:09 +0200
commitb8a964e19de9cb025587c3546930a18c0d4edd07 (patch)
treefe4bec22a4727c4932021eb973a646ca6389011e /main.go
parentcec39db23db603e87b969a5c630b5873f96a8be7 (diff)
feat(backend): handle simple root files
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index fc64d5c..480a501 100644
--- a/main.go
+++ b/main.go
@@ -72,6 +72,7 @@ func main() {
r := backend.NewRouter(dev, cfg)
backend.HandleHome(r)
+ backend.HandleRoot(r, cfg)
backend.HandleLogs(r)
backend.HandleStaticFiles(r, "/assets", backend.UsableEmbedFS("dist", embeds))