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

Server connection from compiled app and CORS Header

$
0
0

@jschwenk wrote:

Hi,

my app connects to a server, which returns JSON. I have CORS headers active on my server, so that it can not be cross-origin requested by every domain.

When I output the HTTP_REFERER in my server, when the compiled capacitor app requests from the server, the referrer is http://localhost. So I would have to allow the REFERER “localhost” to access my server. I don`t really like the idea. Is it possible to change this somehow, so hat the REFERER is “my-unique-referrer”?

Thank you!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70440

Trending Articles



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