This commit is contained in:
parent
01c106fabb
commit
2712269132
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ async fn main() -> Result<()> {
|
||||||
"Onion-Location",
|
"Onion-Location",
|
||||||
config.fc.onion.as_deref().unwrap_or_default(),
|
config.fc.onion.as_deref().unwrap_or_default(),
|
||||||
))
|
))
|
||||||
|
.add(("Server", format!("ewp/{}", env!("CARGO_PKG_VERSION"))))
|
||||||
.add(("Permissions-Policy", "interest-cohort=()")),
|
.add(("Permissions-Policy", "interest-cohort=()")),
|
||||||
)
|
)
|
||||||
.service(web::scope("/api").service(web::scope("v1").service(api_v1::love)))
|
.service(web::scope("/api").service(web::scope("v1").service(api_v1::love)))
|
||||||
|
|
Loading…
Reference in a new issue