api: convert service config to JS and remove it from main config

This commit is contained in:
wukko
2024-08-03 16:27:20 +06:00
parent 3a2504ae87
commit 332eae16b2
8 changed files with 206 additions and 161 deletions

View File

@@ -3,8 +3,9 @@ import { runTest } from "../misc/run-test.js";
import { loadJSON } from "../misc/load-from-fs.js";
import { Red, Bright } from "../misc/console-text.js";
import { services } from "../processing/service-config.js";
const tests = loadJSON('./src/util/tests.json');
const services = loadJSON('./src/processing/service-config.json');
// services that are known to frequently fail due to external
// factors (e.g. rate limiting)