aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-25 21:43:22 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-25 21:43:22 +0800
commit117de4c034eca7c2360b9e3df2424c771f91dc56 (patch)
tree74a26a115405977fc7fcbc50aa376ea18442e010
parentMerge branch 'master' into irclog (diff)
parenthandler: Add Path: "/" for the cookie (diff)
downloadpowxy-117de4c034eca7c2360b9e3df2424c771f91dc56.tar.gz
powxy-117de4c034eca7c2360b9e3df2424c771f91dc56.tar.zst
powxy-117de4c034eca7c2360b9e3df2424c771f91dc56.zip
Merge branch 'master' into irclogirclog-v0.1.83
-rw-r--r--handler.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/handler.go b/handler.go
index 75f74dd..21fef54 100644
--- a/handler.go
+++ b/handler.go
@@ -166,6 +166,7 @@ func handler(writer http.ResponseWriter, request *http.Request) {
Value: base64.StdEncoding.EncodeToString(expectedMAC),
Secure: true,
HttpOnly: true,
+ Path: "/",
})
slog.Info("\x0303-- POW ACK",