Skip to content

Commit

Permalink
move port assignment to vite config (#5771)
Browse files Browse the repository at this point in the history
  • Loading branch information
briangregoryholmes authored Sep 24, 2024
1 parent 65715f4 commit c78a60d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.15.0",
"type": "module",
"scripts": {
"dev": "vite dev --port 3001",
"dev": "vite dev",
"build": "vite build",
"install-and-build": "npm install && npm run build",
"check": "svelte-check --tsconfig ./tsconfig.json",
Expand Down
2 changes: 1 addition & 1 deletion web-local/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const config = defineConfig(({ mode }) => ({
},
},
server: {
port: 3000,
port: 3001,
strictPort: true,
fs: {
allow: ["."],
Expand Down

0 comments on commit c78a60d

Please sign in to comment.