microsoft / microsoft/vscode-livepreview
Launch as http://localhost instead of http://127.0.0.1?
@andreamah is already working on this.
Since Apr 22, 2024.
- Dominant language
- TypeScript
- Stars
- 596
- Forks
- 119
- Avg merge
- 1d 4m
- Merged PRs (30d)
- 5
Description
Recently switched to this extension instead of preview on live server, and like it overall. But there's one thing either missing - or I can't figure out how to configure it: launching in the preview/browser as http://localhost instead of http://127.0.0.1. This would allow better support for pulling in cross-origin resources like FontAwesome, which allows development on localhost but not on a specific IP address.
I'm thinking it's possible I just am missing a configuration option because this issue mentions localhost several times. Is there maybe a more general VS Code or workspace setting I can use to ensure that I'm launching on localhost instead of the specific IP?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.