Add instance route

This commit is contained in:
uurgothat
2021-11-17 22:28:22 +03:00
parent 7d7a533984
commit 54ebf97e78
5 changed files with 46 additions and 0 deletions
+6
View File
@@ -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: {