Skip to content

micheldpcarlos/ng-proxy-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

ng-proxy-config :shipit:

Proxy configuration ready to use with Angular CLI (ng serve), useful when API CORS is not configured to use in your development environment or when your dev API is not in a secure port.

No Access-Control-Allow-Origin | ERR_UNSAFE_PORT

How to use

Now you can serve your project using the following command:

$ ng serve --proxy-config proxy.config.json

Your api will be reached by "/api" via proxy and you will no longer have CORS or ERR_UNSAFE_PORT errors.

❤️

About

:shipit: Proxy configuration ready to use with Angular CLI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published