Skip to content
This repository has been archived by the owner on Jan 18, 2019. It is now read-only.

Commit

Permalink
fix(#13): make proxy settings configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
hypery2k committed Oct 26, 2016
1 parent 2bf5dc4 commit b4cef38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions etc/appConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ var appConfig = {
template: path.resolve(sourceRoot, 'index.html'),
chunksSortMode: 'dependency'
}],
proxy: {
'*': 'http://localhost:8080', // REST service
},
additionalWebpackOptions: false
};

Expand Down
4 changes: 1 addition & 3 deletions etc/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,7 @@ module.exports = webpackMerge(commonConfig, {
poll: 1000
},
outputPath: appConfig.dist,
proxy: {
'*': 'http://localhost:8082', // REST service
}
proxy: appConfig.proxy
},

/*
Expand Down

0 comments on commit b4cef38

Please sign in to comment.