fix: change frontend port to 8088

This commit is contained in:
2026-01-03 00:05:38 +08:00
parent fd2a0ed248
commit 0b1fe94a25
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@
"identifier": "com.oyasumi.gamelib", "identifier": "com.oyasumi.gamelib",
"build": { "build": {
"beforeDevCommand": "pnpm dev", "beforeDevCommand": "pnpm dev",
"devUrl": "http://localhost:1420", "devUrl": "http://localhost:8088",
"beforeBuildCommand": "pnpm build", "beforeBuildCommand": "pnpm build",
"frontendDist": "../dist" "frontendDist": "../dist"
}, },

View File

@@ -14,14 +14,14 @@ export default defineConfig(async () => ({
clearScreen: false, clearScreen: false,
// 2. tauri expects a fixed port, fail if that port is not available // 2. tauri expects a fixed port, fail if that port is not available
server: { server: {
port: 1420, port: 8088,
strictPort: true, strictPort: true,
host: host || false, host: host || false,
hmr: host hmr: host
? { ? {
protocol: "ws", protocol: "ws",
host, host,
port: 1421, port: 8089,
} }
: undefined, : undefined,
watch: { watch: {