Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Update config.ts

Raphael Veauville9933ba9030b0
diff --git a/backend/config.ts b/backend/config.ts
index ff1ab440..8a44d620 100644
--- a/backend/config.ts
+++ b/backend/config.ts
@@ -4,7 +4,7 @@ export const config = {
max_file_size: 20 * 1024 * 1024, // 20MB
upload_path: resolve(__dirname, '../uploads'),
access_token_expiration: '1800s',
- access_token_expiration_ms: 5 * 1000, // 30 minutes
+ access_token_expiration_ms: 1800 * 1000, // 30 minutes
refresh_token_expiration: 7 * 24 * 60 * 60 * 1000,
// in octets
max_user_size: 1000 * 1024 * 1024, // 1GB