|
|
@@ -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)
|
|
|
}
|
|
|
-}
|
|
|
+}
|