Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Ionic 1.3.x and 308 Url Redirection

$
0
0

@JerryHsi wrote:

Hi,

I have an IOS app built with Ionic 1.3. The app communicates with the backend through .NET Web APIs and the endpoint is hard coded in the app. Everything was working great, until we decided to move the APIs to a sub-domain. A 308 permanent redirect is setup for the API. Now the app doesn't work completely. In the simulator, I'm getting CORS preflight errors. On the device, no connection at all.

In the app I have white list plugin installed, content security policy and access origin set to *.

How do I resolve this without changing the endpoint in the device and affect end users?

Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>