This commit is contained in:
2016-07-01 22:41:46 +05:00
parent b99c54e9fd
commit 241e75993e

View File

@@ -113,7 +113,7 @@ func main() {
fs := http.FileServer(http.Dir("/var/www/static"))
http.Handle("static", fs)
http.Handle("/static/", fs)
panic(http.ListenAndServe(fmt.Sprintf(":%d", *http_port), nil))
}