mirror of
https://codeberg.org/slatian/service.echoip-slatecave.git
synced 2025-07-21 00:06:03 +02:00
Update to axum 0.7
This commit is contained in:
@ -51,10 +51,10 @@ impl HumusView<QuerySettings, ResponseFormat> for View {
|
||||
|
||||
fn get_cookie_header(&self, settings: &QuerySettings) -> Option<String> {
|
||||
Some(
|
||||
Cookie::build("dns_resolver",settings.dns_resolver_id.to_string())
|
||||
Cookie::build(Cookie::new("dns_resolver",settings.dns_resolver_id.to_string()))
|
||||
.path("/")
|
||||
.same_site(cookie::SameSite::Strict)
|
||||
.finish()
|
||||
.build()
|
||||
.to_string()
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user