no need for dns prefetch for heroku domain

This commit is contained in:
2019-06-24 17:34:39 -04:00
parent ad5d6aee2d
commit 8e1c7619de
6 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -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 {