Merge branch 'master' into storage_refactor

This commit is contained in:
Jonathan Leibiusky @xetorthio
2017-06-16 10:02:20 -03:00
6 changed files with 7 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ func Home(w http.ResponseWriter, r *http.Request) {
return
}
if s.Stack != "" {
s.Host = r.Host
go core.SessionDeployStack(s)
}

View File

@@ -26,6 +26,7 @@ func SessionSetup(rw http.ResponseWriter, req *http.Request) {
return
}
s.Host = req.Host
err := core.SessionSetup(s, body)
if err != nil {
log.Println(err)