mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-19 16:13:06 +00:00
refactor: use export global variables instead of express
This commit is contained in:
committed by
Rainer Killinger
parent
8c48552abf
commit
59e4009c5d
@@ -21,6 +21,7 @@ import {logger} from './common';
|
||||
* Get port from environment and store in Express.
|
||||
*/
|
||||
const port = normalizePort(process.env.PORT || '3000');
|
||||
// TODO: Can we remove that? It doesn't look like it is read at all.
|
||||
app.set('port', port);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user