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

View file

@ -40,8 +40,8 @@ class Conf {
); );
} }
static get localPort() { static get port() {
return parseInt(Deno.env.get('DITTO_LISTEN_ON') || '8000'); return parseInt(Deno.env.get('PORT') || '8000');
} }
static get relay(): `wss://${string}` | `ws://${string}` { static get relay(): `wss://${string}` | `ws://${string}` {