Hi:

I have a EXT JS 5 project compiled in the production folder.

When opened directly via Chrome and Opera Browser, nothing is shown; but when opened via Firefox and Safari Browser directly, it works.


I have tested this on OSX Yosemite and Windows 7.


However, when I put the files in a webserver, its fine; OR when I do 'sencha app build testing' its also fine.


This is console error in the production build (in chrome):



Code:



XMLHttpRequest cannot load file:///home/USER/my-workspace/build/production/SenchaApp/app.json. Cross origin requests are only supported for protocol schemes: http, data, chrome-extension, https, chrome-extension-resource. index.html:86 h.

fetchSync index.html:1
Uncaught SyntaxError: Unexpected end of input

Is there some way you can make it work in the production one like it did in the testing one.


Thanks

J.