Skip to content

Commit

Permalink
add --host on vite preview
Browse files Browse the repository at this point in the history
  • Loading branch information
akmatoff committed Oct 10, 2024
1 parent e4021df commit f278b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dev": "vite --port 4000",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview --port 4000"
"preview": "vite preview --port 4000 --host 0.0.0.0"
},
"dependencies": {
"@dnd-kit/core": "^6.1.0",
Expand Down

0 comments on commit f278b77

Please sign in to comment.