mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-29 02:06:34 +02:00
🔧 Add s3 bucket
This commit is contained in:
parent
716d7ddf8d
commit
4bd35c2c8b
2 changed files with 4 additions and 1 deletions
|
@ -22,6 +22,9 @@ const nextConfig = {
|
|||
hostname: "app.rallly.co",
|
||||
pathname: "/api/storage/**",
|
||||
},
|
||||
{
|
||||
hostname: "rallly-public.s3.amazonaws.com",
|
||||
},
|
||||
],
|
||||
},
|
||||
productionBrowserSourceMaps: true,
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue