refactor(FE-357): Use relative URL for marketing sale reports

This commit is contained in:
rstubryan
2025-12-18 11:19:23 +07:00
parent 83fc92d48b
commit f844c9ff2c
+7 -1
View File
@@ -44,7 +44,13 @@ export class MarketingSaleReportService extends BaseApiService<
}
}
// TODO: REPLACE WITH PRODUCTION URL
export const SaleReportApi = new MarketingSaleReportService(
'reports/marketings'
);
/* For local testing purpose only
export const SaleReportApi = new MarketingSaleReportService(
'http://localhost:4010/api/reports/marketings'
'reports/marketings'
);
*/