global: snapshot

This commit is contained in:
nym21
2026-03-02 13:34:45 +01:00
parent 7cb1bfa667
commit 4d97cec869
57 changed files with 1724 additions and 2011 deletions

View File

@@ -93,6 +93,10 @@ impl ApiRoutes for ApiRouter<AppState> {
include_bytes!("./scalar.js.br").as_slice(),
)
}))
.route(
"/.well-known/openapi.json",
get(|| async { Redirect::permanent("/openapi.json") }),
)
.route(
"/api/{*path}",
get(|| async { Redirect::permanent("/api") }),