mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-28 16:49:58 -07:00
global: snapshot
This commit is contained in:
@@ -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") }),
|
||||
|
||||
Reference in New Issue
Block a user