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

@@ -1,7 +1,7 @@
import "dotenv/config";
import "../misc/alias-envs.js";
import { services } from "../config.js";
import { services } from "../processing/service-config.js";
import { extract } from "../processing/url.js";
import match from "../processing/match.js";
import { loadJSON } from "../misc/load-from-fs.js";