Skip to content

Instantly share code, notes, and snippets.

@MrFrankel MrFrankel/config.js Secret
Created Jan 12, 2017

Embed
What would you like to do?
const local = {
targetName: 'local',
target: 'https://localhost:4141,
changeOrigin: true,
secure: false
},
remote = {
targetName: 'remote',
requestCert: false,
rejectUnauthorized: false,
target: 'https://test.outbrain.com:8181,
secure: false,
changeOrigin: true,
autoRewrite: true
},
routingTable = {
'site': local,
'^/static': local,
'/*/': remote
};
const options = {
routingTable: routingTable,
home_port: 2109,
debug: true,
startPath: 'amplify/site/'
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.