Created
August 20, 2018 19:42
-
-
Save akshaymittal143/c00fdb52e80ee3a3accde37572cc9153 to your computer and use it in GitHub Desktop.
ng6 proxy.conf.json for spring boot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"/server": { | |
"target": "http://localhost:8080", | |
"secure": false, | |
"changeOrigin": true, | |
"logLevel": "debug", | |
"pathRewrite": { | |
"^/server" : "" | |
} | |
} | |
} |
Author
akshaymittal143
commented
Aug 20, 2018
- add this file to the root project and update package.json -> ng serve --proxy-config proxy.conf.json
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment