Quellcode durchsuchen

修改webapp存放路径

jevian ma(马作伟) vor 1 Monat
Ursprung
Commit
c2cc24c0e7
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      src/main.rs

+ 2 - 2
src/main.rs

@@ -8,7 +8,7 @@ use tokio::sync::Mutex;
 use tower_http::cors::{Any, CorsLayer}; // 添加Any和CorsLayer的引用
 
 const WEBP: &str =
- "https://www.worldflying.cn/tools/4gplc/"
+ "https://www.worldflying.cn/tools/webapps/4gplc/"
 // "http://124.222.106.170/plc_ctrl"
 ;
 
@@ -246,4 +246,4 @@ async fn redirect_http_to_https(host:HeaderMap, uri: Uri) -> Result<Redirect, St
     } else {
         Err(StatusCode::BAD_REQUEST)
     }
-}
+}