fix(dev): restore Dropbox file proxy

This commit is contained in:
Christian Vidal Wolf
2026-05-21 13:56:13 +02:00
parent cffd16acc7
commit fa998ec9bf
+1 -1
View File
@@ -200,7 +200,7 @@ export default function App() {
if (isDev) { if (isDev) {
const cacheBuster = `t_${Date.now()}`; const cacheBuster = `t_${Date.now()}`;
const fileUrl = `/api/dropbox-proxy?${cacheBuster}=${Date.now()}`; const fileUrl = `/dropbox-file/scl/fi/usa8me7ywgylrij2bt6hj/Data-Matrix.xlsx?rlkey=tsec8csrhye54u1fdvk15ped1&st=qbxxs4cn&dl=0&${cacheBuster}=${Date.now()}`;
console.log('Fetching Data-Matrix.xlsx from Dropbox (hard refresh)...'); console.log('Fetching Data-Matrix.xlsx from Dropbox (hard refresh)...');
try { try {
const response = await fetch(fileUrl, { cache: 'no-store' }); const response = await fetch(fileUrl, { cache: 'no-store' });