add env variable to disable direct invitation links

This commit is contained in:
bytedream committed 2026-11-07 23:08:16 +01:00
1 parent b40665c2d7
commit 14fa022dd3
7 files changed
+55 -37

No files matched your search

+2
View File
@@ -41,6 +41,8 @@ export default defineConfig({
UPLOAD_PATH: envField.string({ context: 'server', access: 'secret', optional: true }),
VIDEO_PATH: envField.string({ context: 'server', access: 'secret', optional: true }),
DIRECT_INVITATION_LINKS_ENABLED: envField.boolean({ context: 'server', access: 'secret', default: true }),
MAX_UPLOAD_BYTES: envField.number({ context: 'server', access: 'secret', default: 20 * 1024 * 1024 }),
START_DATE: envField.string({ context: 'server', access: 'secret', default: '1970-01-01' }),