Skip to content

Commit

Permalink
[BUGFIX] Make sure that vite is accessible with IPv4+6
Browse files Browse the repository at this point in the history
  • Loading branch information
s2b committed Jun 23, 2024
1 parent d36ea59 commit 5d32c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/web/vite
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ else
fi

if [[ $COMMAND == "dev" ]] || [[ $COMMAND == "serve" ]] || [[ $COMMAND == "preview" ]]; then
npx vite $COMMAND --host localhost --port 5173 --strictPort $OPTIONS
npx vite $COMMAND --host --port 5173 --strictPort $OPTIONS
else
npx vite $COMMAND $OPTIONS
fi

0 comments on commit 5d32c15

Please sign in to comment.