File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ static CLIENT: Lazy<ArcSwap<reqwest::Client>> = Lazy::new(|| ArcSwap::from_point
1919pub struct Client ;
2020
2121// const API_URL: &str = "http://localhost:2924";
22- const API_URL : & str = "https://api. phira.cn " ;
22+ const API_URL : & str = "https://phira.5wyxi.com " ;
2323
2424pub fn basic_client_builder ( ) -> ClientBuilder {
2525 let policy = reqwest:: redirect:: Policy :: custom ( |attempt| {
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ impl File {
243243 }
244244 . load_image ( )
245245 . await
246- } else if self . url . starts_with ( "https://files.phira.cn/" ) || self . url . starts_with ( "https://api. phira.cn /files/" ) {
246+ } else if self . url . starts_with ( "https://files.phira.cn/" ) || self . url . starts_with ( "https://phira.5wyxi.com /files/" ) {
247247 File {
248248 url : format ! ( "{}.thumbnail" , self . url) ,
249249 }
You can’t perform that action at this time.
0 commit comments