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

Ionic build , angular with proxies config

$
0
0

@nicovelo wrote:

hey guys

first thank u for ur great and amazing work on ionic its just fabulous.

i hope ull can help since i writed all my ionic app and then at the end moment of being online im stucked with some problems around proxy config and cors issues.

im working with ionic 4 ionic cli 6.1 angular 8
angular app works fine with the proxy.config.json file

running ionic build --prod just works fine also
but the requests used to be handled by proxies doesnt work anymore

i already read a lot trying to fix the issues from updating the code to put hard link url to the only one external server i need to modify nginx location conf with the codes from enable-cors.org to trying to add proxy with ionic cli in facts an option of angular cli in ionic build cmd and nothing works

i got 3 differents kind of errors from the response failure who redirects to / off app to gateway timeout 504 to a classic cors error allow control origin not sended

the most fabulous i think is that im just trying to get a the static www that i can simply serve with nginx

maybe theres is a way that i can modify nginx config to get on the same port listener the app and the server side scripts served ?

or maybe there is something too big in ionic whole that im extraordinary missing ?

in advance thanks for ur help guys and again thank u for ur great work (y) ^^

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



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