add alternative paths with single slashes for compatibility with new versions
Some checks are pending
Push Dev / docker (push) Waiting to run

This commit is contained in:
Jonatan Czarniecki 2025-05-24 13:58:29 +02:00 committed by Shiroyasha
parent a08985544f
commit 1c4f0f1106

View file

@ -182,6 +182,8 @@ async fn app() -> Result<bool> {
let api = Router::new()
.nest("//auth", api_auth::router()) // => /api//auth ¯\_(ツ)_/¯
.nest("//assets", api_assets::router())
.nest("/auth", api_auth::router())
.nest("/assets", api_assets::router())
.nest("/v1", api::sculptor::router(limit))
.route("/limits", get(api_info::limits))
.route("/version", get(api_info::version))