Change attach URL

This commit is contained in:
Marcos Lilljedahl
2016-10-08 10:32:40 +02:00
parent b6b849e2c6
commit 62936fcfc9
4 changed files with 8 additions and 8 deletions

2
api.go
View File

@@ -26,7 +26,7 @@ func main() {
mux.Get("/p/:sessionId", h)
mux.Get("/assets/*", http.FileServer(http.Dir("./www")))
mux.Get("/exec/:id", websocket.Handler(handlers.Exec))
mux.Get("/sessions/:sessionId/instances/:instanceId/attach", websocket.Handler(handlers.Exec))
n := negroni.Classic()
n.UseHandler(mux)