fix: use .append() and not Set-Cookie2
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
web dev is too confusing..
This commit is contained in:
parent
d67a7ce0ca
commit
2fbf41ba8c
4 changed files with 14 additions and 22 deletions
|
@ -68,7 +68,7 @@ pub async fn res(
|
|||
cookie.make_removal();
|
||||
response
|
||||
.headers_mut()
|
||||
.append("Set-Cookie2", HeaderValue::from_str(&cookie.to_string())?);
|
||||
.append("Set-Cookie", HeaderValue::from_str(&cookie.to_string())?);
|
||||
}
|
||||
|
||||
Ok(response)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue