This commit is contained in:
@@ -14,6 +14,10 @@ export async function GET(
|
||||
request: NextRequest,
|
||||
{ params }: { params: Promise<{ name: string }> },
|
||||
) {
|
||||
// Restaurant logo processing disabled – redirect to static PWA icon
|
||||
return NextResponse.redirect(new URL(PWA_ICON_192, request.url), 302);
|
||||
|
||||
/* Restaurant logo processing – uncomment to re-enable dynamic PWA icons
|
||||
try {
|
||||
await params;
|
||||
|
||||
@@ -91,4 +95,5 @@ export async function GET(
|
||||
console.error("Error processing logo:", error);
|
||||
return NextResponse.redirect(new URL(DEFAULT_ICON, request.url), 302);
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user