mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2024-11-23 01:45:50 +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.
|
||||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
|
||||
[[package]]
|
||||
name = "actix"
|
||||
version = "0.10.0"
|
||||
|
@ -439,7 +441,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "argon2-creds"
|
||||
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 = [
|
||||
"ammonia",
|
||||
"derive_builder 0.10.2",
|
||||
|
|
|
@ -106,6 +106,7 @@ async fn main() -> std::io::Result<()> {
|
|||
HttpServer::new(move || {
|
||||
App::new()
|
||||
.wrap(actix_middleware::Logger::default())
|
||||
.wrap(actix_middleware::DefaultHeaders::new().header("Permissions-Policy", "interest-cohort=()"))
|
||||
.wrap(get_identity_service())
|
||||
.wrap(actix_middleware::Compress::default())
|
||||
.data(data.clone())
|
||||
|
|
Loading…
Reference in a new issue