If BASEURL === "", ask the user to add the BASEURL

This commit is contained in:
Ovler 2024-01-27 15:24:56 +08:00 committed by GitHub
parent b72a32a5a7
commit a844c68009
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -210,6 +210,10 @@
async function archiveVideo() {
var bvNumber = getBVNumber();
if (BASEURL === "") {
alert("请先设置存档服务器地址");
return;
}
var url = `${BASEURL}/archive/${bvNumber}`;
console.log("Archive URL:", url);
showPopup("正在发送存档请求", "#f3d9a6");