mirror of
https://github.com/shiroyashik/sculptor.git
synced 2025-12-06 04:51:13 +03:00
add alternative paths with single slashes for compatibility with new versions
Some checks are pending
Push Dev / docker (push) Waiting to run
Some checks are pending
Push Dev / docker (push) Waiting to run
This commit is contained in:
parent
a08985544f
commit
1c4f0f1106
1 changed files with 2 additions and 0 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue