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; return;
} }
var sendToLegacy = proxy(peliasConfig.legacyUrl, { var sendToLegacy = proxy(peliasConfig.legacyUrl);
forwardPath: function(req, res) {
return require('url').parse(req.url).path;
}
});
// api root // api root
app.get( '/', sendToLegacy ); app.get( '/', sendToLegacy );

Loading…
Cancel
Save