App.accessRule('*');

http://docs.meteor.com/#/full/App-accessRule

From the docs, ive added a wildcard accessRule : App.accessRule(’*’);

But im still getting this error while trying to upload files to s3 from mobile

No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://meteor.local’ is therefore not allowed access. The response had HTTP status code 403.

Is that not the correct way? normally using a wildcard like that should be good no?

Thanks for the help!

2 Likes

Try add this to your mobile-config.js

App.accessRule('http://*');
App.accessRule('https://*');