Fix Buy Box warning detection for Spain (B0D3874WSD) and update Vite proxies

This commit is contained in:
Christian Vidal Wolf
2026-02-05 10:48:37 +01:00
parent 9f9556af2a
commit 3a4410c3b5
2 changed files with 31 additions and 2 deletions
+18
View File
@@ -26,6 +26,24 @@ export default defineConfig(({ mode }) => {
changeOrigin: true,
rewrite: () => '',
followRedirects: true
},
'/api/fetch-buybox': {
target: 'https://www.dropbox.com/scl/fi/dooz56abib51ifaf42cpx/Buy_Box_tracker.xlsx?rlkey=2sx85bne42fju3d8vekfygzau&dl=1',
changeOrigin: true,
rewrite: () => '',
followRedirects: true
},
'/api/fetch-ads': {
target: 'https://www.dropbox.com/scl/fi/wng8tep7awhvzd65amwad/Ads-Weekly.xlsx?rlkey=kcmoq8dxgibsb2eb8zz47xvyo&dl=1',
changeOrigin: true,
rewrite: () => '',
followRedirects: true
},
'/api/fetch-stock': {
target: 'https://www.dropbox.com/scl/fi/jaxc1y01ot7wj4ksswaoe/Item-Availability.xlsx?rlkey=v428jlri5jf1z5ggiebze7ovo&dl=1',
changeOrigin: true,
rewrite: () => '',
followRedirects: true
}
}
},