Skip to content

Instantly share code, notes, and snippets.

@jmrobles
Last active October 25, 2020 17:48
Show Gist options
  • Save jmrobles/7668f2ed0b4a2f7d81d79e3da8e82407 to your computer and use it in GitHub Desktop.
Save jmrobles/7668f2ed0b4a2f7d81d79e3da8e82407 to your computer and use it in GitHub Desktop.
proxy.conf base
const PROXY_CONFIG = {
"/api": {
"target": "http://my-backend.com",
"changeOrigin": true,
"secure": false,
"logLevel": "debug"
}
};
module.exports = PROXY_CONFIG;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment