A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
feat: Change default max upload size to 50MB up from 4MB
Mohamed Bassemb59fe2ee819a
diff --git a/docs/docs/03-configuration.md b/docs/docs/03-configuration.mdindex 2ff8ff25..59496409 100644--- a/docs/docs/03-configuration.md+++ b/docs/docs/03-configuration.md@@ -9,7 +9,7 @@ The app is mainly configured by environment variables. All the used environment| NEXTAUTH_SECRET | Yes | Not set | Random string used to sign the JWT tokens. Generate one with `openssl rand -base64 36`. || MEILI_ADDR | No | Not set | The address of meilisearch. If not set, Search will be disabled. E.g. (`http://meilisearch:7700`) || MEILI_MASTER_KEY | Only in Prod and if search is enabled | Not set | The master key configured for meilisearch. Not needed in development environment. Generate one with `openssl rand -base64 36` |-| MAX_ASSET_SIZE_MB | No | 4 | Sets the maximum allowed asset size (in MB) to be uploaded |+| MAX_ASSET_SIZE_MB | No | 50 | Sets the maximum allowed asset size (in MB) to be uploaded || DISABLE_NEW_RELEASE_CHECK | No | false | If set to true, latest release check will be disabled in the admin panel. |## Authentication / Signup@@ -100,10 +100,10 @@ Hoarder uses [tesseract.js](https://github.com/naptha/tesseract.js) to extract tYou can use webhooks to trigger actions when bookmarks are created, changed or crawled.-| Name | Required | Default | Description |-| ------------------- | -------- | ------- | ---------------------------------------------------------------------------------------------- |-| WEBHOOK_TIMEOUT_SEC | No | 5 | The timeout for the webhook request in seconds. |-| WEBHOOK_RETRY_TIMES | No | 3 | The number of times to retry the webhook request. |+| Name | Required | Default | Description |+| ------------------- | -------- | ------- | ------------------------------------------------- |+| WEBHOOK_TIMEOUT_SEC | No | 5 | The timeout for the webhook request in seconds. |+| WEBHOOK_RETRY_TIMES | No | 3 | The number of times to retry the webhook request. |:::infodiff --git a/packages/shared/config.ts b/packages/shared/config.tsindex 9e5741b7..0c312f21 100644--- a/packages/shared/config.ts+++ b/packages/shared/config.ts@@ -54,7 +54,7 @@ const allEnv = z.object({DEMO_MODE_EMAIL: z.string().optional(),DEMO_MODE_PASSWORD: z.string().optional(),DATA_DIR: z.string().default(""),- MAX_ASSET_SIZE_MB: z.coerce.number().default(4),+ MAX_ASSET_SIZE_MB: z.coerce.number().default(50),INFERENCE_LANG: z.string().default("english"),WEBHOOK_TIMEOUT_SEC: z.coerce.number().default(5),WEBHOOK_RETRY_TIMES: z.coerce.number().int().min(0).default(3),