aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2016-12-16 20:07:34 -0800
committerChristine Dodrill <me@christine.website>2016-12-16 20:07:34 -0800
commit0dd6f1c40bbb8aabbc9a4af49692e7c5613d4e45 (patch)
tree70a467567ddaa1586b869ddea61715c25175aa81 /backend
parent7c4d5314934c069ac6ec435bcc8582ed2b50b708 (diff)
downloadxesite-0dd6f1c40bbb8aabbc9a4af49692e7c5613d4e45.tar.xz
xesite-0dd6f1c40bbb8aabbc9a4af49692e7c5613d4e45.zip
Add static file, change eifel tower to my avatar
Diffstat (limited to 'backend')
-rw-r--r--backend/christine.website/main.go1
1 files changed, 1 insertions, 0 deletions
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))