]> Untitled Git - lemmy.git/blobdiff - crates/apub/src/http/routes.rs
Upgrade deps (#1799)
[lemmy.git] / crates / apub / src / http / routes.rs
index 612cc45864207759d0a27e183529e89b685b1e4a..b17b425599e81c36febfee661c402a79312d46d1 100644 (file)
@@ -37,7 +37,7 @@ pub fn config(cfg: &mut web::ServiceConfig, settings: &Settings) {
 
     cfg
       .service(
-        web::scope("/")
+        web::scope("")
           .guard(header_guard_accept)
           .route(
             "/c/{community_name}",
@@ -71,7 +71,7 @@ pub fn config(cfg: &mut web::ServiceConfig, settings: &Settings) {
       )
       // Inboxes dont work with the header guard for some reason.
       .service(
-        web::scope("/")
+        web::scope("")
           .wrap(digest_verifier)
           .guard(header_guard_content_type)
           .route("/c/{community_name}/inbox", web::post().to(community_inbox))