Changed the app to except cross domain urls, but it still does not work