mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2024-11-26 19:36:01 +03:00
block floc
This commit is contained in:
parent
5e6e04514e
commit
6a56ff8ea9
2 changed files with 4 additions and 1 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -1,5 +1,7 @@
|
||||||
# This file is automatically @generated by Cargo.
|
# This file is automatically @generated by Cargo.
|
||||||
# It is not intended for manual editing.
|
# It is not intended for manual editing.
|
||||||
|
version = 3
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "actix"
|
name = "actix"
|
||||||
version = "0.10.0"
|
version = "0.10.0"
|
||||||
|
@ -439,7 +441,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "argon2-creds"
|
name = "argon2-creds"
|
||||||
version = "0.2.1"
|
version = "0.2.1"
|
||||||
source = "git+https://github.com/realaravinth/argon2-creds#c899181a1bdb65134cc329f26c5dd3601d89fc45"
|
source = "git+https://github.com/realaravinth/argon2-creds?branch=master#c899181a1bdb65134cc329f26c5dd3601d89fc45"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ammonia",
|
"ammonia",
|
||||||
"derive_builder 0.10.2",
|
"derive_builder 0.10.2",
|
||||||
|
|
|
@ -106,6 +106,7 @@ 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(get_identity_service())
|
.wrap(get_identity_service())
|
||||||
.wrap(actix_middleware::Compress::default())
|
.wrap(actix_middleware::Compress::default())
|
||||||
.data(data.clone())
|
.data(data.clone())
|
||||||
|
|
Loading…
Reference in a new issue