server at root - fixed
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Steven Polley 2019-01-05 20:58:40 -07:00
parent ba45dbf5e9
commit b97f1f37ec
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ func main() {
stop := make(chan os.Signal, 1)
signal.Notify(stop, os.Interrupt)
go func() {
http.Handle("/public/", http.StripPrefix("/", http.FileServer(http.Dir("public"))))
http.Handle("/", http.FileServer(http.Dir("public")))
log.Fatal(http.ListenAndServe(":8080", nil))
}()
log.Println("started public fileserver on 8080")