From 6a56ff8ea935bf68dae23b22501876a5e0c3e4d2 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Tue, 15 Jun 2021 20:23:39 +0530 Subject: [PATCH] block floc --- Cargo.lock | 4 +++- src/main.rs | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 011f7e9e..ab1e4732 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/src/main.rs b/src/main.rs index fa874a0a..0a203a4d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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())