mirror of
https://github.com/saveweb/biliarchiver.git
synced 2024-09-18 18:45:28 -07:00
If BASEURL === "", ask the user to add the BASEURL
This commit is contained in:
parent
b72a32a5a7
commit
a844c68009
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user