Remove file server
This commit is contained in:
@ -29,9 +29,6 @@ func main() {
|
|||||||
fmt.Fprintf(w, "OK")
|
fmt.Fprintf(w, "OK")
|
||||||
})
|
})
|
||||||
|
|
||||||
fs := http.FileServer(http.Dir("static/"))
|
|
||||||
http.Handle("/static/", http.StripPrefix("/static/", fs))
|
|
||||||
|
|
||||||
l.Logger.Infof(`listening on %s`, addr)
|
l.Logger.Infof(`listening on %s`, addr)
|
||||||
|
|
||||||
go worker.Worker()
|
go worker.Worker()
|
||||||
|
|||||||
Reference in New Issue
Block a user