summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authoruurgothat <cckhmck@gmail.com>2021-11-17 22:28:22 +0300
committeruurgothat <cckhmck@gmail.com>2021-11-17 22:28:22 +0300
commit39aebb2cfc053c1cf8837738ac4154a454e44ff1 (patch)
treec39ffd799cad1f68ac954c8870d04169949854bc /util
parentMerge pull request #496 from fosscord/translation (diff)
downloadserver-39aebb2cfc053c1cf8837738ac4154a454e44ff1.tar.xz
Add instance route
Diffstat (limited to 'util')
-rw-r--r--util/src/entities/Config.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/util/src/entities/Config.ts b/util/src/entities/Config.ts
index cac5d4da..fd83bc5a 100644
--- a/util/src/entities/Config.ts
+++ b/util/src/entities/Config.ts
@@ -49,6 +49,9 @@ export interface ConfigValue {
 		endpointPrivate: string | null;
 	};
 	general: {
+		instanceName: string;
+		instanceDescription: string | null;
+		frontPage: string | null;
 		instanceId: string;
 	};
 	limits: {
@@ -180,7 +183,10 @@ export const DefaultConfigOptions: ConfigValue = {
 		endpointPublic: null,
 	},
 	general: {
+		instanceName: "Fosscord Instance",
+		instanceDescription: "This is a Fosscord instance made in pre-relase days",
 		instanceId: Snowflake.generate(),
+		frontPage: null
 	},
 	limits: {
 		user: {