summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 965e000..29724b2 100644
--- a/main.go
+++ b/main.go
@@ -221,6 +221,7 @@ func main() {
fmt.Println(err)
os.Exit(1)
}
+ db.Reconnect = true
http.HandleFunc("/", home)
http.HandleFunc("/p/", playlist)