Add server name
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending

This commit is contained in:
Mylloon 2023-10-13 21:02:38 +02:00
parent 01c106fabb
commit 2712269132
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -35,6 +35,7 @@ async fn main() -> Result<()> {
"Onion-Location",
config.fc.onion.as_deref().unwrap_or_default(),
))
.add(("Server", format!("ewp/{}", env!("CARGO_PKG_VERSION"))))
.add(("Permissions-Policy", "interest-cohort=()")),
)
.service(web::scope("/api").service(web::scope("v1").service(api_v1::love)))