Skip to content

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
Cowjiang committed Jan 16, 2024
1 parent 94b5943 commit 0f6d036
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"build": {
"beforeDevCommand": "pnpm dev",
"beforeBuildCommand": "pnpm build",
"devPath": "http://localhost:1420",
"devPath": "http://localhost:3000",
"distDir": "../dist"
},
"package": {
Expand All @@ -20,7 +20,7 @@
"bundle": {
"active": true,
"targets": "all",
"identifier": "com.tauri.dev",
"identifier": "com.cj.dev",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 0f6d036

Please sign in to comment.