Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix for proxy rewrite not working anymore.
Apparently this whole config option was removed in PR #359.
  • Loading branch information
SpaceK33z committed Aug 24, 2016
commit 85d271726525652324e1a696334bee78ae6ad1ae
1 change: 1 addition & 0 deletions lib/Server.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ function Server(compiler, options) {
}

app.use(function(req, res, next) {
if(typeof proxyConfig.rewrite === 'function') proxyConfig.rewrite(req, proxyConfig);
var bypassUrl = bypass && proxyConfig.bypass(req, res, proxyConfig) || false;

if(bypassUrl) {
Expand Down