You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Possible problem while running the project locally #2
I cloned the project and fired up the index.html. The environment loads, but the Data doesn't because the browser's Cross Origin Security Policy blocks it from loading.
So I wrote a simple Node Script which can be used as the entry point of the server instead.
So instead of launching index.html, people can launch the Script and get http://localhost:8080, then everything works flawlessly.
Oops I had never tested locally on Chrome.
Thank you for reporting this significant issue.
I guess it looks weird if I add Node.js files into this repo.
Instead, I found a proper repo behaving in the same way as you suggest. https://github.com/indexzero/http-server
I will inform this in README.md.
Activity
64json commentedon May 22, 2016
Oops I had never tested locally on Chrome.
Thank you for reporting this significant issue.
I guess it looks weird if I add Node.js files into this repo.
Instead, I found a proper repo behaving in the same way as you suggest.
https://github.com/indexzero/http-server
I will inform this in README.md.
duaraghav8 commentedon May 22, 2016
You're welcome:)
Ah! I agree, the http-server utility is a more sensible solution.
64json commentedon May 22, 2016
Check out the new README.md 👍
Merge pull request #2 from duaraghav8/master
Merge pull request #2 from duaraghav8/master