mardi 23 août 2016

angular - how to call http request from an iframe

I have index.html file that recognize my whole app (flask app) and this index.html has an iframe that point to indexApp.html that in "static" folder. in indexApp.html i initiate my angular app so now my app see only files that inside "static" folder, so http request cant working (work on "views.py" file outside static folder) i cant change the hierarchy of the files (put "views" in static folder).

what should id do?

Aucun commentaire:

Enregistrer un commentaire