summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorHazelnoot <acomputerdog@gmail.com>2025-06-01 13:29:26 -0400
committerHazelnoot <acomputerdog@gmail.com>2025-06-01 13:29:26 -0400
commit2db4da48ed897b69b3e8a137f458bbffa6696307 (patch)
treea914558eb5637aa9bef7e42fbfa2b1839c604d13 /packages
parentincrease default "max file size" role policy to 100MB, matching "drive capaci... (diff)
downloadsharkey-2db4da48ed897b69b3e8a137f458bbffa6696307.tar.gz
sharkey-2db4da48ed897b69b3e8a137f458bbffa6696307.tar.bz2
sharkey-2db4da48ed897b69b3e8a137f458bbffa6696307.zip
reduce default maxFileSize to 25MB
Diffstat (limited to 'packages')
-rw-r--r--packages/backend/src/core/RoleService.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/core/RoleService.ts b/packages/backend/src/core/RoleService.ts
index 5345a814b3..6b6479c240 100644
--- a/packages/backend/src/core/RoleService.ts
+++ b/packages/backend/src/core/RoleService.ts
@@ -89,7 +89,7 @@ export const DEFAULT_POLICIES: RolePolicies = {
canUseTranslator: true,
canHideAds: false,
driveCapacityMb: 100,
- maxFileSizeMb: 100,
+ maxFileSizeMb: 25,
alwaysMarkNsfw: false,
canUpdateBioMedia: true,
pinLimit: 5,