fix: remove unwanted stuff

This commit is contained in:
Mrugesh Mohapatra
2019-01-15 20:14:19 +05:30
committed by Stuart Taylor
parent 251212beea
commit f9c4d2426c
2 changed files with 0 additions and 13 deletions

View File

@ -13,12 +13,8 @@ function createShortLinkHandler(app) {
const { Article } = app.models; const { Article } = app.models;
return function shortLinkHandler(req, res, next) { return function shortLinkHandler(req, res, next) {
const { query } = req;
const { shortId } = req.params; const { shortId } = req.params;
log(req.origin);
log(query.refsource);
if (!shortId) { if (!shortId) {
return res.redirect('/news'); return res.redirect('/news');
} }

View File

@ -1,9 +0,0 @@
/* global describe it expect */
describe('client/src utilities', () => {
describe('No tests for utils', () => {
it('No tests for utils', () => {
expect(true);
});
});
});