mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
@@ -23,7 +23,7 @@ declare global {
|
||||
defineModuleConfig('server', {
|
||||
name: {
|
||||
desc: 'A recognizable name for the server. Will be shown when connected with AFFiNE Desktop.',
|
||||
default: 'AFFiNE Cloud',
|
||||
default: '',
|
||||
},
|
||||
externalUrl: {
|
||||
desc: `Base url of AFFiNE server, used for generating external urls.
|
||||
|
||||
@@ -127,6 +127,11 @@ export const KNOWN_CONFIG_GROUPS = [
|
||||
type: 'JSON',
|
||||
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'>,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user