Make Config a argument for init_rocket()

This commit is contained in:
Kitaiti Makoto
2023-01-15 06:20:54 +09:00
parent abf0b28fd4
commit 4eab51b159
2 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -305,7 +305,7 @@ macro_rules! last {
}
mod config;
pub use config::CONFIG;
pub use config::{Config, CONFIG};
pub fn ap_url(url: &str) -> String {
format!("https://{}", url)