Skip to content

Commit 4e97ac6

Browse files
committed
fix: revert devUrl to port 3000 — port 3080 conflicts with localhost plugin
Port 3080 is used by tauri-plugin-localhost for production builds. Dev mode uses Next.js dev server which defaults to port 3000. Having both on 3080 causes EADDRINUSE and blank screen.
1 parent f0cb070 commit 4e97ac6

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,7 @@ next-env.d.ts
4545
.env*.local
4646
*.cache*
4747
*.pnpm-store*
48+
49+
# private docs
50+
TESTFLIGHT.md
51+
ExportOptions.plist

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.6.0",
44
"private": true,
55
"scripts": {
6-
"frontend:dev": "next dev --turbopack --port 3080",
6+
"frontend:dev": "next dev --turbopack",
77
"frontend:build": "next build",
88
"desktop:dev": "pnpm exec tauri dev",
99
"ios:dev": "node scripts/tauri-ios-dev.mjs",

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"identifier": "ai.openknot.code-editor",
66
"build": {
77
"frontendDist": "../out",
8-
"devUrl": "http://127.0.0.1:3080",
8+
"devUrl": "http://127.0.0.1:3000",
99
"beforeDevCommand": "pnpm frontend:dev",
1010
"beforeBuildCommand": "pnpm frontend:build"
1111
},

0 commit comments

Comments
 (0)