about summary refs log tree commit diff
path: root/src/lib/constants.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-02-23 16:02:31 -0600
committerPaul Frazee <pfrazee@gmail.com>2023-02-23 16:02:31 -0600
commit4182edfd7e3333fcf31b94f2f091fe143945b809 (patch)
tree51fa2548f8138603d0f69ab7ff87d56c2d7b70ee /src/lib/constants.ts
parent0f293ecf950c1563668a3a2d2fefb6e9d4585736 (diff)
downloadvoidsky-4182edfd7e3333fcf31b94f2f091fe143945b809.tar.zst
Implement image uploading in the web composer
Diffstat (limited to 'src/lib/constants.ts')
-rw-r--r--src/lib/constants.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/constants.ts b/src/lib/constants.ts
index 2a3043c06..72cba0b63 100644
--- a/src/lib/constants.ts
+++ b/src/lib/constants.ts
@@ -63,3 +63,7 @@ export const STAGING_SUGGESTED_FOLLOWS = ['arcalinea', 'paul', 'paul2'].map(
 export const DEV_SUGGESTED_FOLLOWS = ['alice', 'bob', 'carla'].map(
   handle => `${handle}.test`,
 )
+
+export const POST_IMG_MAX_WIDTH = 2000
+export const POST_IMG_MAX_HEIGHT = 2000
+export const POST_IMG_MAX_SIZE = 1000000