Skip to content

Commit

Permalink
Remove duplicate middleware loading
Browse files Browse the repository at this point in the history
  • Loading branch information
coocos committed Mar 5, 2021
1 parent 24149f5 commit 8205b0f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import cron from "node-cron";
import config from "./config";
import logger from "./logger";

import * as loaders from "./loaders";
import * as eventRepo from "./repos/eventRepo";
import * as feed from "./feed";

Expand All @@ -16,8 +15,6 @@ cron.schedule("* * * * *", async () => {
}
});

loaders.loadExpress(app);

app.listen(config.port, () => {
logger.info(`Running in ${config.env} mode`);
logger.info(`Listening at http://localhost:${config.port}`);
Expand Down

0 comments on commit 8205b0f

Please sign in to comment.