Browse Source

Remove unused forwardPath function

pull/213/head
Julian Simioni 9 years ago
parent
commit
4f684c8f2a
  1. 6
      routes/legacy.js

6
routes/legacy.js

@ -5,11 +5,7 @@ function addRoutes(app, peliasConfig) {
return;
}
var sendToLegacy = proxy(peliasConfig.legacyUrl, {
forwardPath: function(req, res) {
return require('url').parse(req.url).path;
}
});
var sendToLegacy = proxy(peliasConfig.legacyUrl);
// api root
app.get( '/', sendToLegacy );

Loading…
Cancel
Save