mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2025-03-29 04:38:59 +03:00
block floc fmt
This commit is contained in:
parent
6a56ff8ea9
commit
2162d32455
1 changed files with 4 additions and 1 deletions
|
@ -106,7 +106,10 @@ async fn main() -> std::io::Result<()> {
|
||||||
HttpServer::new(move || {
|
HttpServer::new(move || {
|
||||||
App::new()
|
App::new()
|
||||||
.wrap(actix_middleware::Logger::default())
|
.wrap(actix_middleware::Logger::default())
|
||||||
.wrap(actix_middleware::DefaultHeaders::new().header("Permissions-Policy", "interest-cohort=()"))
|
.wrap(
|
||||||
|
actix_middleware::DefaultHeaders::new()
|
||||||
|
.header("Permissions-Policy", "interest-cohort=()"),
|
||||||
|
)
|
||||||
.wrap(get_identity_service())
|
.wrap(get_identity_service())
|
||||||
.wrap(actix_middleware::Compress::default())
|
.wrap(actix_middleware::Compress::default())
|
||||||
.data(data.clone())
|
.data(data.clone())
|
||||||
|
|
Loading…
Add table
Reference in a new issue