fix(server): config defaults (#11879)

This commit is contained in:
forehalo
2025-04-22 04:26:28 +00:00
parent a1e338efc1
commit f918573ba8
6 changed files with 46 additions and 9 deletions

View File

@@ -23,7 +23,8 @@ declare global {
defineModuleConfig('server', {
name: {
desc: 'A recognizable name for the server. Will be shown when connected with AFFiNE Desktop.',
default: '',
default: undefined,
shape: z.string().optional(),
},
externalUrl: {
desc: `Base url of AFFiNE server, used for generating external urls.