Skip to content

Commit 8e51645

Browse files
Disable mock-source in production
- Set mock-source scraper to disabled in config - Remove mock-source from data loader sources list - Mock data still available for local development/testing 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent a50c2ab commit 8e51645

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scrapers/mock-source/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"enabled": true,
2+
"enabled": false,
33
"source_name": "mock-source",
44
"rate_limit_delay_ms": 1000
55
}

src/services/dataLoader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export async function loadAllData() {
22
// For local dev, fetch from /data directory
33
// For production, fetch from GitHub raw URL or relative path
44

5-
const sources = ['mock-source', 'carmax', 'carvana', 'plattauto'];
5+
const sources = ['carmax', 'carvana', 'plattauto'];
66
const dates = getLast7Days();
77

88
const promises = [];

0 commit comments

Comments
 (0)