Created
May 14, 2018 09:52
-
-
Save ohadlevy/44bdb8804477f37324f6122bd54d8d75 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
diff --git a/config/webpack.config.js b/config/webpack.config.js | |
index 596ad044a..3db5756ae 100644 | |
--- a/config/webpack.config.js | |
+++ b/config/webpack.config.js | |
@@ -15,7 +15,7 @@ var vendorEntry = require('./webpack.vendor'); | |
module.exports = env => { | |
// must match config.webpack.dev_server.port | |
- var devServerPort = 3808; | |
+ var devServerPort = 3000; | |
// set TARGETNODE_ENV=production on the environment to add asset fingerprints | |
var production = | |
@@ -180,7 +180,10 @@ module.exports = env => { | |
host: process.env.BIND || 'localhost', | |
port: devServerPort, | |
headers: { 'Access-Control-Allow-Origin': '*' }, | |
- hot: true | |
+ hot: true, | |
+ proxy: { | |
+ "/": "http://localhost:5000" | |
+ } | |
}; | |
// Source maps | |
config.devtool = 'inline-source-map'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment