mirror of
https://github.com/christianvidalwolf-prog/CrazeAnalytix.git
synced 2026-08-03 11:55:22 +02:00
feat(bsr): fetch BSR.xlsx from Dropbox instead of local file
- Rewrite api/fetch-bsr.ts to proxy BSR.xlsx from the Dropbox URL, matching the same pattern as fetch-buybox.ts and other data sources - Add /api/fetch-bsr proxy in vite.config.ts for local dev Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
ce13d17eda
commit
17a3df9fb3
@@ -44,6 +44,12 @@ export default defineConfig(({ mode }) => {
|
||||
changeOrigin: true,
|
||||
rewrite: () => '',
|
||||
followRedirects: true
|
||||
},
|
||||
'/api/fetch-bsr': {
|
||||
target: 'https://www.dropbox.com/scl/fi/r32r9x6r7bvgg6ckiaowk/BSR.xlsx?rlkey=vka50xyhc637riq901qo5bk16&st=y6ys2oz8&dl=1',
|
||||
changeOrigin: true,
|
||||
rewrite: () => '',
|
||||
followRedirects: true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user