@@ -23,7 +23,7 @@ declare global {
|
|||||||
defineModuleConfig('server', {
|
defineModuleConfig('server', {
|
||||||
name: {
|
name: {
|
||||||
desc: 'A recognizable name for the server. Will be shown when connected with AFFiNE Desktop.',
|
desc: 'A recognizable name for the server. Will be shown when connected with AFFiNE Desktop.',
|
||||||
default: 'AFFiNE Cloud',
|
default: '',
|
||||||
},
|
},
|
||||||
externalUrl: {
|
externalUrl: {
|
||||||
desc: `Base url of AFFiNE server, used for generating external urls.
|
desc: `Base url of AFFiNE server, used for generating external urls.
|
||||||
|
|||||||
@@ -127,6 +127,11 @@ export const KNOWN_CONFIG_GROUPS = [
|
|||||||
type: 'JSON',
|
type: 'JSON',
|
||||||
desc: 'The config passed directly to the storage provider(e.g. aws-sdk)',
|
desc: 'The config passed directly to the storage provider(e.g. aws-sdk)',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: 'avatar.publicPath',
|
||||||
|
type: 'String',
|
||||||
|
desc: 'The public path prefix for user avatars(e.g. https://my-bucket.s3.amazonaws.com/)',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
} as ConfigGroup<'storages'>,
|
} as ConfigGroup<'storages'>,
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user