Chore: touch file for room templ
This commit is contained in:
@ -45,7 +45,7 @@ func HandleFrontLogin(w http.ResponseWriter, r *http.Request) {
|
||||
abortWithError(w, err.Error())
|
||||
return
|
||||
}
|
||||
tmpl.ExecuteTemplate(w, "main", nil)
|
||||
tmpl.ExecuteTemplate(w, "main", roundWords)
|
||||
}
|
||||
|
||||
func makeCookie(username string, remote string) (*http.Cookie, error) {
|
||||
@ -79,8 +79,6 @@ func makeCookie(username string, remote string) (*http.Cookie, error) {
|
||||
log.Info("check remote addr for cookie set",
|
||||
"remote", remote, "session", session)
|
||||
if strings.Contains(remote, "192.168.0") {
|
||||
// no idea what is going on
|
||||
// cookie.Domain = "192.168.0.15"
|
||||
cookie.Domain = "home.host"
|
||||
log.Info("changing cookie domain", "domain", cookie.Domain)
|
||||
}
|
||||
|
Reference in New Issue
Block a user