Update server-api.ts

This commit is contained in:
NotII
2025-10-30 23:35:21 +00:00
parent f0d18a9e67
commit 928d94cecd

View File

@@ -129,7 +129,7 @@ export async function getPlatformStatsServer() {
// Make direct request without auth
const res = await fetch(url, {
cache: 'no-store', // Always fetch fresh data
cache: 'no-store',
headers: {
'Content-Type': 'application/json'
}
@@ -142,7 +142,6 @@ export async function getPlatformStatsServer() {
return data;
}
// If API returned empty data, use sample data
console.info('Using sample stats data for demo');
return {
orders: {