From 1c3da9024c843ad295178663a90155f40bf4ff6a Mon Sep 17 00:00:00 2001 From: Christian Vidal Wolf Date: Thu, 23 Apr 2026 12:50:40 +0200 Subject: [PATCH] Fix: Update Dropbox sharing link to the new version provided by the user. Restores auto-load functionality in both dev and production. --- api/dropbox-proxy.js | 2 +- src/App.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/dropbox-proxy.js b/api/dropbox-proxy.js index 89396bc..b4e40d7 100644 --- a/api/dropbox-proxy.js +++ b/api/dropbox-proxy.js @@ -58,7 +58,7 @@ export default async function handler(req, res) { } try { - const sharingUrl = 'https://www.dropbox.com/scl/fi/8qbl7uoigtfu5x1nn8wvm/Data-Matrix.xlsx?rlkey=s6rkwa2bjrx9gh442gw6w40uk&dl=1'; + const sharingUrl = 'https://www.dropbox.com/scl/fi/usa8me7ywgylrij2bt6hj/Data-Matrix.xlsx?rlkey=tsec8csrhye54u1fdvk15ped1&dl=1'; const upstream = await fetch(sharingUrl, { method: 'GET', headers: { diff --git a/src/App.tsx b/src/App.tsx index 52c7622..b28cece 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -75,7 +75,7 @@ export default function App() { if (isDev) { const cacheBuster = `t_${Date.now()}`; - const fileUrl = `/dropbox-file/scl/fi/8qbl7uoigtfu5x1nn8wvm/Data-Matrix.xlsx?rlkey=s6rkwa2bjrx9gh442gw6w40uk&dl=1&${cacheBuster}=${Date.now()}`; + const fileUrl = `/dropbox-file/scl/fi/usa8me7ywgylrij2bt6hj/Data-Matrix.xlsx?rlkey=tsec8csrhye54u1fdvk15ped1&dl=1&${cacheBuster}=${Date.now()}`; console.log('Fetching Data-Matrix.xlsx from Dropbox (hard refresh)...'); const response = await fetch(fileUrl, { cache: 'no-store' }); if (!response.ok) throw new Error(`HTTP ${response.status}`);