From aca01f064d605d8f143d75f0fd1c1a82b9a8f396 Mon Sep 17 00:00:00 2001 From: BoHong Li Date: Thu, 13 Apr 2017 00:20:28 +0800 Subject: refactor: Remove `require` extension filename --- lib/web/historyRouter.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/web') diff --git a/lib/web/historyRouter.js b/lib/web/historyRouter.js index 738e409d..1b22c232 100644 --- a/lib/web/historyRouter.js +++ b/lib/web/historyRouter.js @@ -3,8 +3,7 @@ const Router = require('express').Router const {urlencodedParser} = require('./utils') -const history = require('../history.js') - +const history = require('../history') const historyRouter = module.exports = Router() // get history -- cgit v1.2.3