Skip to content

Commit

Permalink
fix potentiol bug
Browse files Browse the repository at this point in the history
  • Loading branch information
andriy-f committed Feb 7, 2024
1 parent 01423cc commit 35c1e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import myRelayPlugin from './myRelayPlugin'
// https://vitejs.dev/config/
export default defineConfig({
server: {
port: parseInt(process.env.PORT) || 5173,
port: (process.env.PORT && parseInt(process.env.PORT)) || 5173,
host: process.env.HOST || 'localhost',
},
plugins: [react(), myRelayPlugin],
Expand Down

0 comments on commit 35c1e9d

Please sign in to comment.