feat: 订阅和文件的远程链接支持使用换行混写三种格式 1. 完整远程链接 2. 类似 /api/file/name 的内部文件调用路径 3. 本地文件的绝对路径

This commit is contained in:
xream committed 2025-06-03 00:10:45 +08:00
1 parent 2093baaedb
commit bd2b3f3fdf
6 files changed
+55 -22

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ export async function getFlowHeaders(
}
}
}
if ($arguments?.noFlow) {
if ($arguments?.noFlow || !/^https?/.test(url)) {
return;
}
const { isStash, isLoon, isShadowRocket, isQX } = ENV();