mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-05-12 02:20:58 +08:00
style: cargo fmt 格式化 pairing.rs
This commit is contained in:
@@ -109,7 +109,11 @@ fn patch_gateway_origins() {
|
||||
};
|
||||
|
||||
// Tauri v2: macOS/Linux 用 tauri://localhost,Windows 用 https://tauri.localhost
|
||||
let origins = serde_json::json!(["tauri://localhost", "https://tauri.localhost", "http://localhost"]);
|
||||
let origins = serde_json::json!([
|
||||
"tauri://localhost",
|
||||
"https://tauri.localhost",
|
||||
"http://localhost"
|
||||
]);
|
||||
|
||||
if let Some(obj) = config.as_object_mut() {
|
||||
let gateway = obj
|
||||
|
||||
Reference in New Issue
Block a user