mirror of
https://github.com/jakejarvis/npqueue.git
synced 2026-07-26 11:56:03 -04:00
no need for dns prefetch for heroku domain
This commit is contained in:
@@ -168,7 +168,7 @@ func main() {
|
||||
addr := ":" + os.Getenv("PORT")
|
||||
|
||||
http.HandleFunc("/api/list", List)
|
||||
http.Handle("/", http.FileServer(http.Dir("./static")))
|
||||
http.Handle("/", http.FileServer(http.Dir("./public")))
|
||||
|
||||
log.Printf("Listening on %s...\n", addr)
|
||||
if err := http.ListenAndServe(addr, nil); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user