From 4acb47290f45a44ba2920b1645468ae825bb66ff Mon Sep 17 00:00:00 2001 From: Kavika Date: Wed, 13 Nov 2024 13:55:56 +1100 Subject: [PATCH] fix path not stating with `/` --- backend/server/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/server/src/main.rs b/backend/server/src/main.rs index abe1ce35..99fdcdac 100644 --- a/backend/server/src/main.rs +++ b/backend/server/src/main.rs @@ -174,7 +174,7 @@ async fn main() -> Result<()> { patch(CampaignHandler::update_banner), ) .route( - "api/v1/campaign/:campaign_id/application", + "/api/v1/campaign/:campaign_id/application", post(CampaignHandler::create_application), ) .route(