Skip to content

Commit d436bfa

Browse files
committed
Just export the app
1 parent 4f33b36 commit d436bfa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ app.use('*', (req,res) => {
3535
.end()
3636
})
3737

38-
module.exports.app = app
38+
module.exports = app

server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const {app} = require('./app')
1+
const app = require('./app')
22

33
const port = process.env.PORT || 3443
44

0 commit comments

Comments
 (0)