make a tip for not setting api_key

pull/471/head
ruopeisun 2021-11-20 11:52:03 +08:00
parent 1b7da5e9a9
commit 3fbd8461f3
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@
function getShortUrl(str)
{
var urlStr = String(document.location);
var api_key = "your_api_key_for_reurl_cc"
var api_key = "your_api_key_for_reurl_cc";
if(api_key == "")
{
alert("网站没有启用短链接生成功能.");