Created
July 26, 2016 05:31
-
-
Save ilaborie/1e731767f7ce7b6b80b88e9e872f009a to your computer and use it in GitHub Desktop.
BS config with proxy
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
const proxy = require('http-proxy-middleware'); | |
module.exports = { | |
port: 8030, | |
open: false, | |
server: { | |
middleware: proxy('/api', { target: 'http://localhost:8000/' }) | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment