mirror of
https://github.com/sub-store-org/Sub-Store.git
synced 2026-11-28 23:40:30 +00:00
feat: 订阅和文件的远程链接支持使用换行混写三种格式 1. 完整远程链接 2. 类似 /api/file/name 的内部文件调用路径 3. 本地文件的绝对路径
This commit is contained in:
1 parent
2093baaedb
commit
bd2b3f3fdf
6 files changed
+55
-22
No files matched your search
@@ -49,7 +49,7 @@ export async function getFlowHeaders(
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($arguments?.noFlow) {
|
||||
if ($arguments?.noFlow || !/^https?/.test(url)) {
|
||||
return;
|
||||
}
|
||||
const { isStash, isLoon, isShadowRocket, isQX } = ENV();
|
||||
|
||||
Reference in new issue
Block a user