Update server-api.ts
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user