Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Update vite.config.js fixes #2 #3

Closed
wants to merge 1 commit into from
Closed

Conversation

elabx
Copy link

@elabx elabx commented Jun 19, 2024

Update vite server config due to localhost not resolving correctly.

Fixes #2

Update vite server config due to localhost not resolving correctly due to ipv6
@elabx elabx mentioned this pull request Jun 19, 2024
Copy link

@rfay rfay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR needs a bit more discussion of what the issue was you encountered.

The title should have a description of what it does, and it should have fixes #2 (it does, right?)

So

  • change the title to explain what's going on, adding fixes #2 at the end of the title
  • In the description (you can edit it) explain what you discovered
  • Explain how this fixes it.

svelte/vite.config.js Show resolved Hide resolved
@elabx elabx changed the title Update vite.config.js Update vite.config.js fixes #2 Jun 19, 2024
@elabx elabx closed this Jun 19, 2024
@elabx
Copy link
Author

elabx commented Jun 19, 2024

Sorry, I completely lack understanding of how changing to 127.0.0.1 instead of localhost fixed the issue I was having, so will close this for now. I also don't understand if this might just be circumstantial to my particular setup.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Svelte app returns 502
2 participants