修复Hybrid HTTP
This commit is contained in:
@@ -27258,7 +27258,15 @@ const LL = [
|
||||
];
|
||||
const DL = FE.create({
|
||||
baseURL: (function () {
|
||||
const e = window.settings?.base_url || "/";
|
||||
let e = window.settings?.base_url || "/";
|
||||
if (
|
||||
"undefined" != typeof window &&
|
||||
"https:" === window.location?.protocol &&
|
||||
"string" == typeof e &&
|
||||
e.startsWith("http://")
|
||||
) {
|
||||
e = "/";
|
||||
}
|
||||
return e.endsWith("/") ? e + "api/v2" : e + "/api/v2";
|
||||
})(),
|
||||
timeout: 3e4,
|
||||
|
||||
Reference in New Issue
Block a user