aboutsummaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 6080b69..b2c221c 100644
--- a/main.go
+++ b/main.go
@@ -60,7 +60,7 @@ func (app *App) InitApiServer() *http.Server {
sm.HandleFunc("/", logg(app.mainHandler))
sm.HandleFunc("/np", logg(app.nowPlayingHandler))
sm.HandleFunc("/scrobble", logg(app.scrobbleHandler))
- //http.HandleFunc("/2.0/", logg(app.ApiHandler))
+ sm.HandleFunc("/2.0/", logg(app.ApiHandler))
apiServer.Addr = ":3001"
apiServer.Handler = sm
return apiServer