Skip to content

Commit

Permalink
fix: use images.openfoodfacts.org to serve images
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 committed Oct 7, 2024
1 parent cb22b2f commit eb4a20a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit eb4a20a

Please sign in to comment.