diff --git a/doordesk/app/src/components/slingshot.rs b/doordesk/app/src/components/slingshot.rs index 1903139..4d020cc 100644 --- a/doordesk/app/src/components/slingshot.rs +++ b/doordesk/app/src/components/slingshot.rs @@ -9,7 +9,7 @@ pub struct ArticleData { pub content: String, } -#[server(Slingshot, "/api", "Cbor")] +#[server(Slingshot)] pub async fn slingshot() -> Result { let data = ArticleData { content_type: String::from("Blog"),