fix: add timeout for fetch

This commit is contained in:
Gabe Yuan
2024-03-19 14:27:26 +08:00
parent bda83ce76e
commit 85aa9f39c2

View File

@@ -12,7 +12,7 @@ import {
import { isBg } from "./browser";
import { newCacheReq, newTransReq } from "./req";
const TIMEOUT = 8000;
const TIMEOUT = 5000;
/**
* 油猴脚本的请求封装