about summary refs log tree commit diff
path: root/src/lib/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/constants.ts')
-rw-r--r--src/lib/constants.ts8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/constants.ts b/src/lib/constants.ts
index 0cde9b014..d49d8c75c 100644
--- a/src/lib/constants.ts
+++ b/src/lib/constants.ts
@@ -161,6 +161,8 @@ export function SUGGESTED_FOLLOWS(serviceUrl: string) {
   }
 }
 
-export const POST_IMG_MAX_WIDTH = 2000
-export const POST_IMG_MAX_HEIGHT = 2000
-export const POST_IMG_MAX_SIZE = 1000000
+export const POST_IMG_MAX = {
+  width: 2000,
+  height: 2000,
+  size: 1000000,
+}