Fix missing host setting and fix tests
This commit is contained in:
@@ -17,6 +17,7 @@ func Home(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
if s.Stack != "" {
|
||||
s.Host = r.Host
|
||||
go core.SessionDeployStack(s)
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user