tim foran
Posts: 0
Joined: Sun Mar 30, 2014 6:32 am

Publishing app to heroku where the service used by the app is already hosted

i used appery.io to create an app that mainly access a service hosted on heroku.

i'm trying to get this app out into the world for testing amongst friends and family but am running into the normal cross-domain service issues.

if i push the appery.io app to my heroku account, will it mess anything up on the backend/service side? do i push to the same app name as the service my app accesses, or do I create a new app name on heroku (different from the existing service)?

thanks for your help and please let me know if i can clarify anything.

tim foran
Posts: 0
Joined: Sun Mar 30, 2014 6:32 am

Publishing app to heroku where the service used by the app is already hosted

Hi Katya,

To clarify - I publish to the SAME/existing app, even if the app on heroku is django/python and our appery.io app connects to it via REST API?

Or do I publish to a new app on heroku?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Publishing app to heroku where the service used by the app is already hosted

Hello!

If you publish app to the same app on heroku, there won't be cross domain issue. It's better to download html5 app in Appery.io and publish t manually.

tim foran
Posts: 0
Joined: Sun Mar 30, 2014 6:32 am

Publishing app to heroku where the service used by the app is already hosted

Will I run into the cross-domain issue if I push to a NEW app on heroku?

What I want to do is a) avoid the cross-domain issue, and b) not screw up anything on the django/python that we already have in heroku

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Publishing app to heroku where the service used by the app is already hosted

If domains are the same, there won't be cross domain issue. By the way, if it's your site you can set service response header Access-Control-Allow-Origin to avoid this problem.

tim foran
Posts: 0
Joined: Sun Mar 30, 2014 6:32 am

Publishing app to heroku where the service used by the app is already hosted

it is our site - how do you go about doing that?

Return to “Issues”