summaryrefslogtreecommitdiff
path: root/server/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/main.rs')
-rw-r--r--server/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/main.rs b/server/src/main.rs
index 124d914..b8b4b64 100644
--- a/server/src/main.rs
+++ b/server/src/main.rs
@@ -317,7 +317,7 @@ async fn main() -> Result<(), rocket::Error> {
"/",
SwaggerUi::new("/openapi/ui/<_..>").url("/openapi/openapi.json", api),
)
- .attach(auth::stage(basepath.to_string()))
+ .attach(auth::stage(basepath))
.launch()
.await?;