移除一些log

This commit is contained in:
celebrateyang 2025-06-08 12:01:17 +08:00
parent c9d6b5d1e3
commit 9a93028eae
3 changed files with 5 additions and 11 deletions

View File

@ -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");

View File

@ -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;
}

View File

@ -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}