From 92705956d1d2be1cc1567389c7b44fa95288940c Mon Sep 17 00:00:00 2001 From: Jonas Thelemann Date: Sat, 7 Nov 2026 16:05:31 +0100 Subject: [PATCH 1/2] feat(vibetype): share the upload size limit with tusd --- src/development/vibetype/compose.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/development/vibetype/compose.yaml b/src/development/vibetype/compose.yaml index bbf4b0dc..049745bf 100644 --- a/src/development/vibetype/compose.yaml +++ b/src/development/vibetype/compose.yaml @@ -52,6 +52,7 @@ services: NUXT_PUBLIC_SITE_URL: https://${STACK_DOMAIN} NUXT_PUBLIC_TURNSTILE_SITE_KEY: ${VIBETYPE_NUXT_PUBLIC_TURNSTILE_SITE_KEY} NUXT_PUBLIC_VIBETYPE_EMAIL_LIMIT24H: ${VIBETYPE_NUXT_PUBLIC_VIBETYPE_EMAIL_LIMIT24H} + NUXT_PUBLIC_VIBETYPE_UPLOAD_MAX_SIZE: ${TUSD_MAX_SIZE} # shared with tusd's `-max-size`, so the frontend rejects what tusd would PGHOST: postgres image: vibetype/vibetype:development secrets: From 41a1323ca97ab55f01ead82b3ce2186f70a3f8d4 Mon Sep 17 00:00:00 2001 From: Jonas Thelemann Date: Sat, 7 Nov 2026 17:25:44 +0100 Subject: [PATCH 2/2] feat(vibetype): rename the upload size limit variable --- src/development/vibetype/compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/development/vibetype/compose.yaml b/src/development/vibetype/compose.yaml index 049745bf..17d1e423 100644 --- a/src/development/vibetype/compose.yaml +++ b/src/development/vibetype/compose.yaml @@ -52,7 +52,7 @@ services: NUXT_PUBLIC_SITE_URL: https://${STACK_DOMAIN} NUXT_PUBLIC_TURNSTILE_SITE_KEY: ${VIBETYPE_NUXT_PUBLIC_TURNSTILE_SITE_KEY} NUXT_PUBLIC_VIBETYPE_EMAIL_LIMIT24H: ${VIBETYPE_NUXT_PUBLIC_VIBETYPE_EMAIL_LIMIT24H} - NUXT_PUBLIC_VIBETYPE_UPLOAD_MAX_SIZE: ${TUSD_MAX_SIZE} # shared with tusd's `-max-size`, so the frontend rejects what tusd would + NUXT_PUBLIC_VIBETYPE_UPLOAD_SIZE_MAX: ${TUSD_MAX_SIZE} # shared with tusd's `-max-size`, so the frontend rejects what tusd would PGHOST: postgres image: vibetype/vibetype:development secrets: