mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-30 02:36:30 +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",
|
hostname: "app.rallly.co",
|
||||||
pathname: "/api/storage/**",
|
pathname: "/api/storage/**",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
hostname: "rallly-public.s3.amazonaws.com",
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
productionBrowserSourceMaps: true,
|
productionBrowserSourceMaps: true,
|
||||||
|
|
|
@ -38,7 +38,7 @@ export async function GET(
|
||||||
const imageKey = context.params.key.join("/");
|
const imageKey = context.params.key.join("/");
|
||||||
|
|
||||||
if (!imageKey) {
|
if (!imageKey) {
|
||||||
return new Response("No key provided", { status: 400 });
|
return new NextResponse("No key provided", { status: 400 });
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Reference in a new issue