mirror of
https://github.com/christianvidalwolf-prog/CrazeAnalytix.git
synced 2026-08-03 13:05:24 +02:00
fix: resolve syntax error in dropbox proxy
This commit is contained in:
@@ -60,7 +60,6 @@ export default async function handler(req: VercelRequest, res: VercelResponse) {
|
|||||||
const data = await response.text();
|
const data = await response.text();
|
||||||
res.status(200).send(data);
|
res.status(200).send(data);
|
||||||
|
|
||||||
} catch (error) {
|
|
||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
console.error('Proxy Error:', error);
|
console.error('Proxy Error:', error);
|
||||||
res.status(500).json({ error: 'Failed to fetch data from Dropbox', details: error.message });
|
res.status(500).json({ error: 'Failed to fetch data from Dropbox', details: error.message });
|
||||||
|
|||||||
Reference in New Issue
Block a user