From 90d7b608282481a2eb32e6657bde8bfee807e53a Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Tue, 10 Jan 2017 12:38:57 -0800 Subject: [PATCH] backend: use asarfs as http.FileSystem --- backend/christine.website/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/")))