Skip to content

Conversation

@ziirou
Copy link

@ziirou ziirou commented Sep 3, 2025

Added a fix for wget connecting problem.

I was stuck with this for quite long and it seemed that others have had similar problems (in Discord channel).

Added a fix for wget connecting problem.

I was stuck with this for quite long and it seemed that others have had similar problems (in Discord channel).
@ziirou
Copy link
Author

ziirou commented Sep 3, 2025

Found this too from the Discord channel: vitejs/vite@bd896fb
So the allowedHosts has been added to server options for Vite v7.1.4.

@vejol vejol added the part 12 label Sep 14, 2025
@WingRa7
Copy link

WingRa7 commented Dec 9, 2025

Came across the same problem too.

I'm thinking if we could use host:true to avoid having to then use the --host flag, and the pros/cons of using allowedHosts: true vs ['app'].

  server: {
    host: true,
    allowedHosts: true,
  },
  ``

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants