summary refs log tree commit diff
path: root/util/src
diff options
context:
space:
mode:
authorSamuel <34555296+Flam3rboy@users.noreply.github.com>2021-11-21 21:03:21 +0100
committerGitHub <noreply@github.com>2021-11-21 21:03:21 +0100
commit2867d077a2330c5c8b5b7a1394c8cbdf7c917791 (patch)
treee599e29ef86edf3ab544da3fe4348242ec9a9ce5 /util/src
parentMerge pull request #496 from fosscord/translation (diff)
parentUpdate index.ts (diff)
downloadserver-2867d077a2330c5c8b5b7a1394c8cbdf7c917791.tar.xz
Merge pull request #510 from Thesourtimes/master
Add instance route 
Diffstat (limited to 'util/src')
-rw-r--r--util/src/entities/Config.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/util/src/entities/Config.ts b/util/src/entities/Config.ts

index cac5d4da..492baa4c 100644 --- a/util/src/entities/Config.ts +++ b/util/src/entities/Config.ts
@@ -49,6 +49,13 @@ export interface ConfigValue { endpointPrivate: string | null; }; general: { + instanceName: string; + instanceDescription: string | null; + frontPage: string | null; + tosPage: string | null; + correspondenceEmail: string | null; + correspondenceUserID: string | null; + image: string | null; instanceId: string; }; limits: { @@ -180,6 +187,13 @@ export const DefaultConfigOptions: ConfigValue = { endpointPublic: null, }, general: { + instanceName: "Fosscord Instance", + instanceDescription: "This is a Fosscord instance made in pre-relase days", + frontPage: null, + tosPage: null, + correspondenceEmail: "noreply@localhost.local", + correspondenceUserID: null, + image: null, instanceId: Snowflake.generate(), }, limits: {