Use url params for explore state

- putting state in the path components led to 400 on reload
- use `/explore?state=JSON` instead
This commit is contained in:
David Kaltschmidt
2018-07-17 12:56:05 +02:00
parent a1f0dffe01
commit c6e9ffb168
5 changed files with 5 additions and 6 deletions
+1 -2
View File
@@ -73,8 +73,7 @@ func (hs *HTTPServer) registerRoutes() {
r.Get("/dashboards/", reqSignedIn, Index)
r.Get("/dashboards/*", reqSignedIn, Index)
r.Get("/explore/", reqEditorRole, Index)
r.Get("/explore/*", reqEditorRole, Index)
r.Get("/explore", reqEditorRole, Index)
r.Get("/playlists/", reqSignedIn, Index)
r.Get("/playlists/*", reqSignedIn, Index)