diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index a0dd59f..282d1dd 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -2,7 +2,7 @@ "build": { "beforeDevCommand": "pnpm dev", "beforeBuildCommand": "pnpm build", - "devPath": "http://localhost:1420", + "devPath": "http://localhost:3000", "distDir": "../dist" }, "package": { @@ -20,7 +20,7 @@ "bundle": { "active": true, "targets": "all", - "identifier": "com.tauri.dev", + "identifier": "com.cj.dev", "icon": [ "icons/32x32.png", "icons/128x128.png", diff --git a/vite.config.ts b/vite.config.ts index 0c9adff..0be3e14 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -11,7 +11,7 @@ export default defineConfig(async () => ({ clearScreen: false, // 2. tauri expects a fixed port, fail if that port is not available server: { - port: 1420, + port: 3000, strictPort: true, watch: { // 3. tell vite to ignore watching `src-tauri`