Skip to content

Commit

Permalink
fix(price add): fix proof preview url. closes #525
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Apr 14, 2024
1 parent 75d2554 commit 03b7194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/AddPriceMultiple.vue
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ export default {
this.proofisSelected = true
},
getProofUrl(proof) {
return 'https://prices.openfoodfacts.org/img/0002/qU59gK8PQw.webp'
// return 'https://prices.openfoodfacts.org/img/0002/qU59gK8PQw.webp'
return `${import.meta.env.VITE_OPEN_PRICES_APP_URL}/img/${proof.file_path}`
},
newProof(source) {
Expand Down

0 comments on commit 03b7194

Please sign in to comment.