feat (backend): Add preview API

- POST /api/preview/sub for previewing subs
- POST /api/preview/collection for previewing collection
This commit is contained in:
Peng-YM
2022-07-01 17:36:48 +08:00
parent bb87a6c41e
commit 606cfed8da
8 changed files with 120 additions and 11 deletions

View File

@@ -276,7 +276,6 @@ async function produceArtifact({ type, item, platform, noProcessor }) {
// parse proxies
let proxies = ProxyUtils.parse(raw);
if (!noProcessor) {
console.log('Processing proxy...');
// apply processors
proxies = await ProxyUtils.process(
proxies,