-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how can i change server ip to 0.0.0.0 rather than localhost #243
Comments
If you run with the |
When the host has multiple ip address, Allow user change host ip really make sense. |
slidev/packages/slidev/node/cli.ts Line 115 in 916e429
when you do that, please there is an security caveat you will need to be aware of vitejs/vite#2820 We could expose the host option to specify the ip, which I could think it's quite an edge case. If you really want that, open for pr. Thanks. |
answer not written in the most careful way, the correct answer is Cli docs is also confusing, it says and you pass |
FYI, the extra |
because i deploy this server in my esc. when i run
npm run dev
,this server run in localhost:3030。but esc dont support visit localhost in public network. please endow me a easy way to change running ipThe text was updated successfully, but these errors were encountered: