mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-28 09:28:29 +00:00
移除一些log
This commit is contained in:
parent
c9d6b5d1e3
commit
9a93028eae
@ -60,7 +60,7 @@
|
||||
}
|
||||
}; export const download = async (link: string) => {
|
||||
// Log the link being processed
|
||||
console.log("[Cobalt BAM] Download button clicked for link:", link);
|
||||
|
||||
|
||||
changeDownloadButton("think");
|
||||
|
||||
|
@ -35,9 +35,6 @@ const request = async (url: string) => {
|
||||
alwaysProxy: getSetting("privacy", "alwaysProxy"),
|
||||
}
|
||||
|
||||
// Log the URL being submitted to the backend
|
||||
console.log("[Cobalt BAM] Submitting URL to backend:", url);
|
||||
console.log("[Cobalt BAM] Full request object:", request);
|
||||
|
||||
/*await apiOverrideWarning();*/
|
||||
|
||||
@ -61,10 +58,8 @@ const request = async (url: string) => {
|
||||
code: "error.captcha_ongoing"
|
||||
}
|
||||
} as CobaltErrorResponse;
|
||||
} const api = currentApiURL();
|
||||
|
||||
console.log("[Cobalt BAM] Making POST request to:", api);
|
||||
|
||||
}
|
||||
const api = currentApiURL();
|
||||
const session = getCachedInfo?.info?.cobalt?.turnstileSitekey
|
||||
? await getSession() : undefined;
|
||||
|
||||
@ -106,8 +101,7 @@ const request = async (url: string) => {
|
||||
} as CobaltErrorResponse;
|
||||
} });
|
||||
|
||||
// Log the API response
|
||||
console.log("[Cobalt BAM] API Response:", response);
|
||||
|
||||
|
||||
return response;
|
||||
}
|
||||
|
@ -54,7 +54,7 @@
|
||||
<div class="notification" role="alert">
|
||||
<div class="notification-content">
|
||||
<span class="notification-icon">🎉</span>
|
||||
<span class="notification-text">竹子下载遇到了些问题,正在维修中...</span> <button
|
||||
<span class="notification-text">最新功能:你可以在的设备中传输文件和文本,完全加密传输,保护隐私性!</span> <button
|
||||
class="notification-close"
|
||||
aria-label="关闭通知"
|
||||
on:click={closeNotification}
|
||||
|
Loading…
Reference in New Issue
Block a user