Denis V. Dedkov 9 жил өмнө
parent
commit
241e75993e
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      noolite-cli.go

+ 1 - 1
noolite-cli.go

@@ -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))
 	}