public: can control up to 9 separate displays
This commit is contained in:
parent
baf992bccb
commit
bc9d27aa94
7 changed files with 31 additions and 19 deletions
|
@ -19,7 +19,7 @@ func init() {
|
|||
api.Router().GET("/events/*_", func(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
|
||||
http.ServeFile(w, r, path.Join(StaticDir, "index.html"))
|
||||
})
|
||||
api.Router().GET("/public", func(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
|
||||
api.Router().GET("/public/*_", func(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
|
||||
http.ServeFile(w, r, path.Join(StaticDir, "index.html"))
|
||||
})
|
||||
api.Router().GET("/settings/*_", func(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
|
||||
|
|
Reference in a new issue