Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialLuca Spezzano
10,417 PointsWorking on Firefox but not on Chrome why?
I just downloaded the work space, when i open the index file on Firefox i see Hello but on Chrome i just see Loading, somebody can help? Thanks!
2 Answers
Luca Spezzano
10,417 PointsThat's the answer: http://stackoverflow.com/questions/20041656/xmlhttprequest-cannot-load-file-cross-origin-requests-are-only-supported-for-ht
you can run this command in the folder: python -m SimpleHTTPServer 8000
And it will run a local server and it will work!
Sanjeev Veloo
4,713 PointsYou can start a simple HTTP server to get around this. I know that this link shows you how to do it for a Mac using terminal. Easy As.
http://www.linuxjournal.com/content/tech-tip-really-simple-http-server-python