Skip to content

Instantly share code, notes, and snippets.


MrFrankel/config.js Secret

Created Jan 12, 2017
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: ',
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