mirror of
https://github.com/Cameri/nostream.git
synced 2025-03-17 21:31:48 +01:00
chore: prioritize PORT over RELAY_PORT
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
This commit is contained in:
parent
0401964925
commit
ffb2161287
@ -19,7 +19,7 @@ export class AppWorker implements IRunnable {
|
||||
}
|
||||
|
||||
public run(): void {
|
||||
const port = process.env.RELAY_PORT || process.env.PORT || 8008
|
||||
const port = process.env.PORT || process.env.RELAY_PORT || 8008
|
||||
this.adapter.listen(typeof port === 'number' ? port : Number(port))
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user