ngx-rocket / generator-ngx-rocket

:rocket: Extensible Angular 14+ enterprise-grade project generator
https://ngx-rocket.github.io/
MIT License
1.53k stars 217 forks source link

About cross domain processing? #519

Closed jocklei closed 4 years ago

jocklei commented 4 years ago

Excuse me, how does NGX rocket handle cross domain requests? Thank you!

sinedied commented 4 years ago

I'm not sure what you mean exactly? There's nothing special in this regard as it use Angular's built-in http service, but there's nothing in particular to do on the client side to manage cross origin requests, whatever the framework as it's something that needs to be enabled on the server side. You should take a look at https://enable-cors.org/server.html to see how you can do it with many server platforms.