rename DITTO_LISTEN_ON and localPort() to PORT and port()

This commit is contained in:
Siddharth Singh 2024-04-24 21:38:05 +05:30
parent 3880f1e013
commit 58b034e169
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -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}` {