image in single food
Build and Deploy Docker Images / build_and_deploy (push) Has been cancelled

This commit is contained in:
hamid zarghami
2026-07-04 15:37:07 +03:30
parent 136acf1f4c
commit 7ff5570c3f
2 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ function FoodPage({}: Props) {
{/* eslint-disable-next-line @next/next/no-img-element */}
<img
ref={imageRef}
className="lg:object-cover lg:h-full object-cover object-top bg-[#F2F2F9] w-full not-lg:absolute not-lg:inset-0 not-lg:h-[115%] not-lg:origin-top not-lg:will-change-transform"
className="lg:object-cover not-lg:object-contain lg:h-full object-cover object-top bg-[#F2F2F9] w-full not-lg:absolute not-lg:inset-0 not-lg:h-full not-lg:origin-top not-lg:will-change-transform"
src={foodImage}
alt={foodName}
onError={(event) => {
+2 -5
View File
@@ -1,9 +1,6 @@
// export const API_BASE_URL = "https://dmenuplus-api-production.dev.danakcorp.com";
// export const API_BASE_URL = "https://dmenu-api.danakcorp.com";
export const API_BASE_URL =
process.env.NEXT_PUBLIC_API_URL ??
(process.env.NODE_ENV === "development"
? "http://192.168.99.131:2000"
: "https://dmenu-api.danakcorp.com");
export const API_BASE_URL = "https://dmenu-api.danakcorp.com";
process.env.NEXT_PUBLIC_API_URL ?? (process.env.NODE_ENV === "development" ? "http://192.168.99.131:2000" : "https://dmenu-api.danakcorp.com");
export const TOKEN_NAME = "dmenu-t";
export const REFRESH_TOKEN_NAME = "dmenu-rt";