aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/christine.website/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/christine.website/main.go b/backend/christine.website/main.go
index faad4a2..ce0e507 100644
--- a/backend/christine.website/main.go
+++ b/backend/christine.website/main.go
@@ -141,7 +141,7 @@ func main() {
log.Fatal("frontend: ", err)
}
- http.Handle("/dist/", fe)
+ http.Handle("/dist/", http.FileServer(fe))
} else {
log.Println("serving site frontend from filesystem")
http.Handle("/dist/", http.FileServer(http.Dir("./frontend/static/")))