From 440754fb87cf6bab37ac7263a032f8815471edc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Bournhonesque?= Date: Mon, 7 Oct 2024 12:52:41 +0200 Subject: [PATCH] fix: use images.openfoodfacts.org to serve images (#1054) --- src/const.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/const.ts b/src/const.ts index 6df947f134..bb7f31d1ac 100644 --- a/src/const.ts +++ b/src/const.ts @@ -4,7 +4,7 @@ export const OFF_URL = `https://world.${OFF_DOMAIN}`; export const OFF_API_URL = `${OFF_URL}/api/v0`; export const OFF_API_URL_V2 = `${OFF_URL}/api/v2`; export const OFF_API_URL_V3 = `${OFF_URL}/api/v3`; -export const OFF_IMAGE_URL = `https://static.${OFF_DOMAIN}/images/products`; +export const OFF_IMAGE_URL = `https://images.${OFF_DOMAIN}/images/products`; export const OFF_SEARCH = `${OFF_URL}/cgi/search.pl`; export const OFF_SEARCH_A_LISIOUS = "https://search.openfoodfacts.org/autocomplete";