Skip to content

Commit b5f9070

Browse files
committed
Debug cookies
1 parent 8d88944 commit b5f9070

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Server/Cookies.purs

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ makeCookie value =
5353
{ maxAge: Just 34560000.0
5454
, expires: Nothing
5555
, httpOnly: true
56-
, samesite: Nothing
57-
, domain: Nothing
58-
, path: Nothing
56+
, samesite: Nothing
57+
, domain: if production then Just domain else Nothing
58+
, path: Just "/"
5959
, secure: production
6060
}
6161
}

0 commit comments

Comments
 (0)