Revert "Allow configuring the listen host (#9924)"
This reverts commit 3dfe3aa9a4.
This commit is contained in:
parent
3dfe3aa9a4
commit
5b3a07ee9e
5 changed files with 9 additions and 15 deletions
|
|
@ -15,7 +15,6 @@ export type Source = {
|
|||
feedback_url?: string;
|
||||
url: string;
|
||||
port: number;
|
||||
host: string;
|
||||
disableHsts?: boolean;
|
||||
db: {
|
||||
host: string;
|
||||
|
|
@ -126,7 +125,6 @@ export function loadConfig() {
|
|||
config.url = url.origin;
|
||||
|
||||
config.port = config.port ?? parseInt(process.env.PORT ?? '', 10);
|
||||
config.host = config.host ?? process.env.HOST;
|
||||
|
||||
mixin.version = meta.version;
|
||||
mixin.host = url.host;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue