mirror of
https://github.com/SECTL/SecScore.git
synced 2026-07-19 12:34:22 +08:00
fix: 修复安卓真机开发版连接与编译问题
This commit is contained in:
@@ -18,8 +18,16 @@ export default defineConfig({
|
||||
emptyOutDir: true,
|
||||
},
|
||||
server: {
|
||||
host: process.env.TAURI_DEV_HOST || false,
|
||||
port: 1420,
|
||||
strictPort: true,
|
||||
hmr: process.env.TAURI_DEV_HOST
|
||||
? {
|
||||
protocol: "ws",
|
||||
host: process.env.TAURI_DEV_HOST,
|
||||
port: 1421,
|
||||
}
|
||||
: undefined,
|
||||
},
|
||||
clearScreen: false,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user