pwa icon
Build and Deploy Docker Images / build_and_deploy (push) Has been cancelled

This commit is contained in:
hamid zarghami
2026-06-06 14:42:18 +03:30
parent 1ce80f551c
commit c9d152fbaf
8 changed files with 35 additions and 27 deletions
+5
View File
@@ -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);
}
*/
}