Meteor-CollectionFS icon indicating copy to clipboard operation
Meteor-CollectionFS copied to clipboard

Fix CORS headers for Meteor 1.3 Cordova

Open lorensr opened this issue 9 years ago • 4 comments

Looks related to https://github.com/mizzao/meteor-timesync/issues/41

I get this error during meteor run android after upgrading to Meteor 1.3:

XMLHttpRequest cannot load http://192.168.2.11:3000/cfs/servertime. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:12280' is therefore not allowed access.

lorensr avatar May 04 '16 04:05 lorensr

Getting a similar error when trying to upload:

image

lorensr avatar May 06 '16 23:05 lorensr

same here. any update @lorensr ?

guillim avatar Aug 20 '17 23:08 guillim

@guillim is this fixed for you when you remove wizonesolutions:canonical?

lorensr avatar Aug 21 '17 01:08 lorensr

@lorensr I removed wizonesolutions:canonical, and unfortunately cfs still gives me CORS errors, so I removed cfs and it now works fine.

guillim avatar Aug 21 '17 08:08 guillim