Skip to content

Commit

Permalink
更新百度推送
Browse files Browse the repository at this point in the history
  • Loading branch information
jywangyou committed Dec 25, 2023
1 parent 1f4aa34 commit 7f3cf5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion baiduPush.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
set -e

# 百度链接推送
curl -H 'Content-Type:text/plain' --data-binary @urls.txt "http://data.zz.baidu.com/urls?site=https://wangyou.ink&token=mzeT25J6TVlVFWZw"
curl -H 'Content-Type:text/plain' --data-binary @urls.txt "http://data.zz.baidu.com/urls?site=https://blog.wangyou.ink&token=mzeT25J6TVlVFWZw"

rm -rf urls.txt # 删除文件
2 changes: 1 addition & 1 deletion utils/baiduPush.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const DOMAIN = process.argv.splice(2)[0]; // 获取命令行传入的参数
if (DOMAIN) {
main();
} else {
console.log(chalk.red('node utils/baiduPush.js https://wangyou.ink'))
console.log(chalk.red('node utils/baiduPush.js https://blog.wangyou.ink'))
}

/**
Expand Down

0 comments on commit 7f3cf5c

Please sign in to comment.