Updated to Next.js 15 and React 19, Fixed Bugs & General Improvements

This commit is contained in:
Ahmad 2024-05-28 18:31:40 -04:00
parent 960577457d
commit b44c2e0f6e
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
5 changed files with 2195 additions and 146 deletions

View file

@ -13,7 +13,6 @@ export async function GET() {
const response = new NextResponse(JSON.stringify(newImages), {
status: 200,
});
response.headers.set('Cache-Control', 'no-store');
return response;
} else {
return new NextResponse('Failed to get images', { status: 500 });