Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🔧 Add s3 bucket
Luke Vella4bd35c2c8b67
diff --git a/apps/web/next.config.js b/apps/web/next.config.jsindex 3535974a4..0d86bd6b2 100644--- a/apps/web/next.config.js+++ b/apps/web/next.config.js@@ -22,6 +22,9 @@ const nextConfig = {hostname: "app.rallly.co",pathname: "/api/storage/**",},+ {+ hostname: "rallly-public.s3.amazonaws.com",+ },],},productionBrowserSourceMaps: true,diff --git a/apps/web/src/app/api/storage/[...key]/route.ts b/apps/web/src/app/api/storage/[...key]/route.tsindex e0ddf0674..9c7040cee 100644--- a/apps/web/src/app/api/storage/[...key]/route.ts+++ b/apps/web/src/app/api/storage/[...key]/route.ts@@ -38,7 +38,7 @@ export async function GET(const imageKey = context.params.key.join("/");if (!imageKey) {- return new Response("No key provided", { status: 400 });+ return new NextResponse("No key provided", { status: 400 });}try {