Skip to content

Commit 27958f9

Browse files
authored
Made app exportable
1 parent ed34375 commit 27958f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ if (unusedEnvVars.length) throw new Error('Required ENV variables are not set: [
66
const { app } = require('./server/app.js')
77

88
app.listen(process.env.PORT)
9+
10+
export default app

0 commit comments

Comments
 (0)