diff --git a/api/login.go b/api/login.go index 2c1143f..89765be 100644 --- a/api/login.go +++ b/api/login.go @@ -34,6 +34,7 @@ func Login(w http.ResponseWriter, r *http.Request) { http.SetCookie(w, &http.Cookie{ Name: "session_id", Value: sessionID, + Path: "/", }) w.WriteHeader(http.StatusOK) }