feat (backend): Add backend API to get flow info for subscriptions

This commit is contained in:
Peng-YM
2022-06-29 00:12:28 +08:00
parent 79a8956f92
commit 7e1139528e
6 changed files with 66 additions and 10 deletions

View File

@@ -66,6 +66,7 @@ function getEnv(req, res) {
if (isLoon) backend = 'Loon';
if (isSurge) backend = 'Surge';
res.json({
status: 200,
backend,
});
}