added max file size validation to frontend

This commit is contained in:
Elias Schneider
2022-04-25 15:29:15 +02:00
parent 61be87b72a
commit 6ef118fa14
3 changed files with 9 additions and 1 deletions

View File

@@ -1,4 +1,6 @@
APPWRITE_FUNCTION_API_KEY=
# IMPORTANT If you're running the website inside docker and your Appwrite instance runs on localhost host,
# use host.docker.internal instead of localhost
APPWRITE_HOST=http://appwrite/v1
APPWRITE_HOST=http://host.docker.internal/v1
# Must be the same as in the _APP_STORAGE_LIMIT in the Appwrite env file
NEXT_PUBLIC_MAX_FILE_SIZE=300000000