Skip to content

Commit 8276ded

Browse files
author
Gery Hirschfeld
authored
Merge pull request #18 from EJMason/feature/17-simple-fix
#17 Fix input type of normalizePort
2 parents ba70615 + 2f7dc5a commit 8276ded

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/Bootstrap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class Bootstrap {
1717

1818
public defineExpressApp(app: express.Application): express.Application {
1919
app.set('host', process.env.APP_HOST);
20-
app.set('port', Server.normalizePort(process.env.PORT || process.env.APP_PORT || 3000));
20+
app.set('port', Server.normalizePort(process.env.PORT || process.env.APP_PORT || '3000'));
2121
return app;
2222
}
2323

0 commit comments

Comments
 (0)