aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2025-10-02 17:21:21 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2025-10-02 17:21:21 +0200
commita471baf6ee1b1a05acec23f2de1b74f56f4596a5 (patch)
tree40012fd384e01c8365554daca6ccdf6c76bb8d9a /main.go
parent5bfd611e7b3468ae38263388e2415d4bba94b0fc (diff)
feat(backend): handle home
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 2d943cd..11ebbe7 100644
--- a/main.go
+++ b/main.go
@@ -56,6 +56,8 @@ func main() {
r := backend.NewRouter()
+ backend.HandleHome(r)
+
backend.HandleStaticFiles(r, "/assets", backend.UsableEmbedFS("dist", embeds))
backend.HandleStaticFiles(r, "/static", os.DirFS(publicDir))