Skip to content

Commit

Permalink
env var to prevent open (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuval-fireblocks authored Nov 27, 2024
1 parent c011ada commit c3d764e
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 @@ -8,7 +8,7 @@ export default defineConfig(({ command, mode }) => {
base: "/ncw-web-demo/",
plugins: [react(), splitVendorChunkPlugin()],
server: {
open: true,
open: env.VITE_OPEN !== 'false',
host: 'localhost',
port: (env.VITE_PORT && Number(env.VITE_PORT)) || 5173,
hmr: true,
Expand Down

0 comments on commit c3d764e

Please sign in to comment.