redirect to github site for landing page

avoid proxying all the landing page requests
This commit is contained in:
Roman Shtylman
2016-07-24 21:34:34 -04:00
parent dbf91cfa20
commit eae9718ab3

View File

@@ -249,13 +249,15 @@ module.exports = function(opt) {
});
app.get('/', function(req, res, next) {
proxy.web(req, res);
res.redirect('https://localtunnel.github.io/www/');
});
// TODO(roman) remove after deploying redirect above
app.get('/assets/*', function(req, res, next) {
proxy.web(req, res);
});
// TODO(roman) remove after deploying redirect above
app.get('/favicon.ico', function(req, res, next) {
proxy.web(req, res);
});