Last active
June 7, 2019 02:31
-
-
Save gtalarico/b58846e71c7d985958aa00393e411a0b to your computer and use it in GitHub Desktop.
Netlify Function Vue Config
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
// vue.config.js | |
module.exports = { | |
devServer: { | |
proxy: { | |
'^/.netlify': { | |
target: 'http://localhost:9000', | |
pathRewrite: { '^/.netlify/functions': '' } | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment