diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -19,7 +19,7 @@ type Playlist struct { } var templates map[string]*template.Template -const debug = true +const debug = false var db *mysql.Client // given an id ('abcd1234'), return the pid (1) @@ -176,7 +176,7 @@ func main() { http.HandleFunc("/p/", playlist) http.HandleFunc("/add/", add) http.HandleFunc("/remove/", remove) - err = http.ListenAndServe(":8000", nil) + err = http.ListenAndServe("localhost:8000", nil) if err != nil { fmt.Println(err) os.Exit(1) |