Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmacarthy committed Dec 1, 2023
1 parent 3717d72 commit 2405a03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ app.use(express.static(path.join(__dirname, '../../src/public')))
const routes = globFiles(ROUTES_DIR)

for (const route of routes) {
const { default: Route } = require(path.resolve(route))
new Route(app)
const { default: Route } = require(path.resolve(route)).
const _ = new Route(app)
}

export default app

0 comments on commit 2405a03

Please sign in to comment.