Skip to content

Commit 326380c

Browse files
author
cai.li
committed
Refactor backend/index.js to remove unused code
1 parent 35d7a3a commit 326380c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

backend/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,15 @@ async function appStart () {
88
const app = require('./app');
99
const apiValidator = require('./lib/validator/api');
1010
const internalCertificate = require('./internal/certificate');
11-
const internalIpRanges = require('./internal/ip_ranges');
1211

1312
return migrate.latest()
1413
.then(setup)
1514
.then(() => {
1615
return apiValidator.loadSchemas;
1716
})
18-
.then(internalIpRanges.fetch)
1917
.then(() => {
2018

2119
internalCertificate.initTimer();
22-
internalIpRanges.initTimer();
2320

2421
const server = app.listen(3000, () => {
2522
logger.info('Backend PID ' + process.pid + ' listening on port 3000 ...');

0 commit comments

Comments
 (0)