Skip to content

Commit

Permalink
chore: use port 8090 if .env not set
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed Nov 8, 2023
1 parent 0cffc23 commit 4909302
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vuetify/vite.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ export default defineConfig(({ mode }) => {
root: resolve('dev'),
server: {
host: process.env.HOST,
port: process.env.CYPRESS ? undefined : process.env.PORT,
port: process.env.CYPRESS ? undefined : +(process.env.PORT ?? 8090),
strictPort: !!process.env.PORT && !process.env.CYPRESS,
},
preview: {
host: process.env.HOST,
port: process.env.PORT,
port: +(process.env.PORT ?? 8090),
strictPort: !!process.env.PORT,
},
resolve: {
Expand Down

0 comments on commit 4909302

Please sign in to comment.