vscode-live-server
vscode-live-server copied to clipboard
feat: add CORS config option to allow for disabling cors
PR Type
What kind of change does this PR introduce?
[ ] Bugfix
[x] Feature
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other: <!-- Please describe: -->
What is the current behavior?
Issue Number: N/A
What is the new behavior?
In some cases, cors needs to be disabled to perform certain tests. For example, using 127.0.0.1
and localhost
as different hosts.
This PR will add a new config option to optionally disable CORS.
Does this PR introduce a breaking change?
[ ] Yes
[x] No