summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorraylu <raylu@mixpanel.com>2011-08-06 04:32:48 -0700
committerraylu <raylu@mixpanel.com>2011-08-06 04:33:45 -0700
commit66e9baf1629a413ec0001dae57d40189dafe4f2f (patch)
treecd6820b7e1af72926ac58f76220c721e5fba1509 /main.go
parent4639fcf237c9ba232dd4d8d826731cc33d678e8e (diff)
downloadaudioaxis-66e9baf1629a413ec0001dae57d40189dafe4f2f.tar.xz
re-id section, canvas. change listen to local-only
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 3220da6..c139b99 100644
--- a/main.go
+++ b/main.go
@@ -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)