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.

Fix value of max uploads (1GB, more precise)

Smaug6739637a39a88fa8
diff --git a/backend/config.toml b/backend/config.toml
index a3c3143d..26780cfa 100644
--- a/backend/config.toml
+++ b/backend/config.toml
@@ -6,7 +6,7 @@ Port = 3306
[Cdn]
MaxSize = 2e+7 # 20MB
-MaxUploadsSize = 1e+9 # 1GB
+MaxUploadsSize = 1073741824 # 1GB
SupportedTypesImages = [
"image/png",
"image/jpeg",