mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 15:14:08 +00:00
Update to latest facil.io patch (cookie path)
This commit is contained in:
parent
fcbfe02c54
commit
2885b2642b
2 changed files with 6 additions and 4 deletions
|
@ -1,11 +1,11 @@
|
|||
.{
|
||||
.name = "zap",
|
||||
.version = "0.1.4-pre",
|
||||
.version = "0.1.6-pre",
|
||||
|
||||
.dependencies = .{
|
||||
.@"facil.io" = .{
|
||||
.url = "https://github.com/zigzap/facil.io/archive/refs/tags/zap-0.0.8.tar.gz",
|
||||
.hash = "122071fcc675e114941331726291ca1f0c0c33751d992782c6abf1f0f2ddddc5734d",
|
||||
.url = "https://github.com/zigzap/facil.io/archive/refs/tags/zap-0.0.10.tar.gz",
|
||||
.hash = "12205e49e9c2c6f0dcab9423fc92d8f0450a4dc2706b68a6d45a448a738ebff70103",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -80,8 +80,10 @@ pub fn main() !void {
|
|||
r.setCookie(.{
|
||||
.name = "rene",
|
||||
.value = "rocksai",
|
||||
.path = "/xxx",
|
||||
.domain = "yyy",
|
||||
// if we leave .max_age_s = 0 -> session cookie
|
||||
// .max_age_s = 60,
|
||||
.max_age_s = 60,
|
||||
//
|
||||
// check out other params: domain, path, secure, http_only
|
||||
}) catch |err| {
|
||||
|
|
Loading…
Add table
Reference in a new issue