Skip to content

Commit 31bdfa4

Browse files
committed
feat: disable cookie secure flag in JZ API
1 parent a808153 commit 31bdfa4

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Cargo.lock

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/jz-api/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ impl Api {
4949
)
5050
.cookie_path("/".to_string())
5151
.cookie_name("SessionID".to_string())
52-
.cookie_secure(true)
52+
.cookie_secure(false)
5353
.session_lifecycle(
5454
BrowserSession::default()
5555
.state_ttl(Duration::days(30))

crates/jz-smart/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ flate2 = { version = "1", features = [] }
2020
tracing = "0.1.41"
2121
serde = { version = "1.0.219", features = ["derive"] }
2222
serde_json = "1.0.140"
23+
uuid = { version = "1.16.0", features = ["v4"] }
2324

2425

2526
[dependencies.jz-module]

0 commit comments

Comments
 (0)