diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-02 17:21:21 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-02 17:21:21 +0200 |
| commit | a471baf6ee1b1a05acec23f2de1b74f56f4596a5 (patch) | |
| tree | 40012fd384e01c8365554daca6ccdf6c76bb8d9a /main.go | |
| parent | 5bfd611e7b3468ae38263388e2415d4bba94b0fc (diff) | |
feat(backend): handle home
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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)) |
