mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
rename DITTO_LISTEN_ON and localPort() to PORT and port()
This commit is contained in:
parent
3880f1e013
commit
58b034e169
1 changed files with 2 additions and 2 deletions
|
|
@ -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}` {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue