mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-26 09:44:25 +01:00
rename DITTO_LISTEN_ON and localPort() to PORT and port()
This commit is contained in:
@@ -40,8 +40,8 @@ class Conf {
|
||||
);
|
||||
}
|
||||
|
||||
static get localPort() {
|
||||
return parseInt(Deno.env.get('DITTO_LISTEN_ON') || '8000');
|
||||
static get port() {
|
||||
return parseInt(Deno.env.get('PORT') || '8000');
|
||||
}
|
||||
|
||||
static get relay(): `wss://${string}` | `ws://${string}` {
|
||||
|
||||
Reference in New Issue
Block a user