mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-04-23 06:09:33 +08:00
修复QX无法上传下载gist的bug
This commit is contained in:
parent
6758f5b6e0
commit
7eed0192bc
@ -3123,9 +3123,6 @@ function HTTP(defaultOptions = {baseURL: ""}) {
|
||||
|
||||
let worker;
|
||||
if (isQX) {
|
||||
if (options.headers) {
|
||||
options.headers = JSON.stringify(options.headers);
|
||||
}
|
||||
worker = $task.fetch({method, url: options.url, headers: options.headers, body: options.body});
|
||||
} else if (isLoon || isSurge || isNode) {
|
||||
worker = new Promise((resolve, reject) => {
|
||||
|
4
backend/sub-store.min.js
vendored
4
backend/sub-store.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user