chore: change dev port

This commit is contained in:
Xinrea
2024-08-29 15:43:12 +08:00
parent 51d4767307
commit 330fa14c8c
3 changed files with 2 additions and 3938 deletions

3936
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -2,7 +2,7 @@
"build": {
"beforeDevCommand": "yarn dev",
"beforeBuildCommand": "yarn build",
"devPath": "http://localhost:8053",
"devPath": "http://localhost:8054",
"distDir": "../dist",
"withGlobalTauri": false
},

View File

@@ -23,7 +23,7 @@ export default defineConfig(async () => ({
clearScreen: false,
// tauri expects a fixed port, fail if that port is not available
server: {
port: 8053,
port: 8054,
strictPort: true,
},
// to make use of `TAURI_DEBUG` and other env variables