mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 11:45:24 +02:00
fix(dev): restore Dropbox file proxy
This commit is contained in:
+1
-1
@@ -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' });
|
||||||
|
|||||||
Reference in New Issue
Block a user