Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix: Remove region from S3Client init

Richie McIlroy082470606b3d
diff --git a/apps/web/app/api/upload/new/route.ts b/apps/web/app/api/upload/new/route.ts
index 1ae89d2c8..3f63d35be 100644
--- a/apps/web/app/api/upload/new/route.ts
+++ b/apps/web/app/api/upload/new/route.ts
@@ -4,7 +4,6 @@ import { getSignedUrl } from "@aws-sdk/s3-request-presigner";
import { NextRequest } from "next/server";
const s3Client = new S3Client({
- region: process.env.AWS_REGION || "",
credentials: {
accessKeyId: process.env.CAP_AWS_ACCESS_KEY || "",
secretAccessKey: process.env.CAP_AWS_SECRET_KEY || "",