Closed robhrt7 closed 11 years ago
I've set up Hoodie app to nodejitsu hosting, and tried to work with external hosted app from localhost, where I've faced cross domain requests error:
Origin null is not allowed by Access-Control-Allow-Origin.
Is it possible to open app for those kind of requests? I want to make common database for development enviroment and production.
what's the .jit.su URL?
http://hoodie-hoodie.nodejitsu.com/
works fine. You have to init Hoodie with
hoodie = new Hoodie('http://hoodie-hoodie.nodejitsu.com/_api')
That helped, thank you!
I've set up Hoodie app to nodejitsu hosting, and tried to work with external hosted app from localhost, where I've faced cross domain requests error:
Is it possible to open app for those kind of requests? I want to make common database for development enviroment and production.