Created
September 12, 2018 14:15
-
-
Save rcanepa/982557491f1df1285f1b1dfe0f9e2f1e to your computer and use it in GitHub Desktop.
Local HTTP Server with CORS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install http-server -g | |
#run | |
http-server -p 3000 --cors | |
More here: | |
https://stackoverflow.com/questions/21956683/enable-access-control-on-simple-http-server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment