mirror of
https://github.com/lanyeeee/bilibili-video-downloader.git
synced 2026-09-08 17:16:52 +08:00
fix: 修复windows下调试时的1420端口占用问题
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"identifier": "com.lanyeeee.bilibili-video-downloader",
|
||||
"build": {
|
||||
"beforeDevCommand": "pnpm dev",
|
||||
"devUrl": "http://localhost:1420",
|
||||
"devUrl": "http://localhost:5005",
|
||||
"beforeBuildCommand": "pnpm build",
|
||||
"frontendDist": "../dist"
|
||||
},
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ export default defineConfig(async () => ({
|
||||
clearScreen: false,
|
||||
// 2. tauri expects a fixed port, fail if that port is not available
|
||||
server: {
|
||||
port: 1420,
|
||||
port: 5005,
|
||||
strictPort: true,
|
||||
host: host || false,
|
||||
hmr: host
|
||||
|
||||
Reference in New Issue
Block a user