diff options
author | BoHong Li | 2017-04-13 00:20:28 +0800 |
---|---|---|
committer | Raccoon Li | 2017-05-08 19:29:06 +0800 |
commit | aca01f064d605d8f143d75f0fd1c1a82b9a8f396 (patch) | |
tree | bc56a4e4856ea62e5f5e7d1495838c3f45d4ad52 /lib/web | |
parent | 41f34735a175d018cc3575449467df0fdd7c530e (diff) |
refactor: Remove `require` extension filename
Diffstat (limited to '')
-rw-r--r-- | lib/web/historyRouter.js | 3 |
1 files changed, 1 insertions, 2 deletions
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 |