style: cargo fmt 格式化 pairing.rs

This commit is contained in:
晴天
2026-03-04 13:39:42 +08:00
parent 7c34f7919d
commit 8ced48be4c

View File

@@ -109,7 +109,11 @@ fn patch_gateway_origins() {
};
// Tauri v2: macOS/Linux 用 tauri://localhostWindows 用 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