diff options
| author | Christine Dodrill <me@christine.website> | 2016-12-16 20:07:34 -0800 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2016-12-16 20:07:34 -0800 |
| commit | 0dd6f1c40bbb8aabbc9a4af49692e7c5613d4e45 (patch) | |
| tree | 70a467567ddaa1586b869ddea61715c25175aa81 /backend | |
| parent | 7c4d5314934c069ac6ec435bcc8582ed2b50b708 (diff) | |
| download | xesite-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.go | 1 |
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)) |
