Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🐛 Increase cache and set content length
Luke Vellaab0c6d4b39d5
diff --git a/apps/web/src/app/api/storage/route.ts b/apps/web/src/app/api/storage/route.tsindex 77f674664..6d6bdf6dc 100644--- a/apps/web/src/app/api/storage/route.ts+++ b/apps/web/src/app/api/storage/route.ts@@ -44,7 +44,8 @@ export async function GET(req: NextRequest) {return new NextResponse(buffer, {headers: {"Content-Type": contentType,- "Cache-Control": "public, max-age=3600",+ "Content-Length": buffer.length.toString(),+ "Cache-Control": "max-age=86400",},});} catch (error) {