Skip to content

Instantly share code, notes, and snippets.

@elleryq
Created January 30, 2020 02:11
Show Gist options
  • Save elleryq/c9b346f28c15af5efab4a5c7865f6737 to your computer and use it in GitHub Desktop.
Save elleryq/c9b346f28c15af5efab4a5c7865f6737 to your computer and use it in GitHub Desktop.
Angular CLI - proxy.json
{
"/api/*": {
"target": "http://localhost:8000",
"changeOrigin": true,
"secure": false,
"logLevel": "debug"
},
"/ws/*": {
"target": "http://localhost:8000",
"changeOrigin": true,
"secure": false,
"ws": true,
"logLevel": "debug"
},
"/Gateway/upload.do": {
"target": "http://localhost:8000",
"changeOrigin": true,
"secure": false,
"logLevel": "debug"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment