Hey guys,
after deploying a new version of my app, I’m running into some CORS issues:
XMLHttpRequest cannot load http://www.myapp.com/sockjs/info?cb=r8ou0hxqfg. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://meteor.local' is therefore not allowed access.
I20160104-21:31:27.172(1) (android:http://meteor.local/:0) XMLHttpRequest cannot load http://www.myapp.com/tap-i18n/de.json.
No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://meteor.local' is therefore not allowed access.
I’m linking my Android app to “https://www.myapp.com” via meteor build --server https://www.myapp.com
. The funny thing here is that he tries to connect without SSL. That doesn’t work, because I’m using the force-ssl
package on myapp.com.
Any ideas why he doesn’t connect correctly via SSL?