mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2025-02-17 00:49:47 +03:00
chore: actix-web updates: replace deprecated methods
This commit is contained in:
parent
6550266aef
commit
56225ae2e4
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ async fn main() -> std::io::Result<()> {
|
|||
.wrap(actix_middleware::Logger::default())
|
||||
.wrap(
|
||||
actix_middleware::DefaultHeaders::new()
|
||||
.header("Permissions-Policy", "interest-cohort=()"),
|
||||
.add(("Permissions-Policy", "interest-cohort=()")),
|
||||
)
|
||||
.wrap(get_identity_service())
|
||||
.wrap(actix_middleware::Compress::default())
|
||||
|
|
Loading…
Add table
Reference in a new issue