fix: ensure ratelimiter adjusts for version prefix

This commit is contained in:
Paul Makles
2025-02-10 18:34:37 +00:00
parent e525ffe5e4
commit 5f39403ce7
2 changed files with 24 additions and 5 deletions

View File

@@ -231,10 +231,15 @@ fn custom_openapi_spec() -> OpenApi {
..Default::default()
},
Server {
url: "http://local.revolt.chat:8000".to_owned(),
url: "http://local.revolt.chat:14702".to_owned(),
description: Some("Local Revolt Environment".to_owned()),
..Default::default()
},
Server {
url: "http://local.revolt.chat:14702/0.8".to_owned(),
description: Some("Local Revolt Environment (v0.8)".to_owned()),
..Default::default()
},
],
external_docs: Some(ExternalDocs {
url: "https://developers.revolt.chat".to_owned(),