From 0dd6f1c40bbb8aabbc9a4af49692e7c5613d4e45 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Fri, 16 Dec 2016 20:07:34 -0800 Subject: Add static file, change eifel tower to my avatar --- backend/christine.website/main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'backend') diff --git a/backend/christine.website/main.go b/backend/christine.website/main.go index 3100f0c..d0c6d3f 100644 --- a/backend/christine.website/main.go +++ b/backend/christine.website/main.go @@ -110,6 +110,7 @@ func main() { http.Error(w, "Not Found", http.StatusNotFound) }) http.Handle("/dist/", http.FileServer(http.Dir("./frontend/static/"))) + http.Handle("/static/", http.FileServer(http.Dir("."))) http.HandleFunc("/", writeIndexHTML) log.Fatal(http.ListenAndServe(":9090", nil)) -- cgit v1.2.3