Skip to content

Commit

Permalink
bugfix: fix baidu link submit "getaddrinfo ENOTFOUND" error (#726)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuqiufeng authored Dec 10, 2023
1 parent a5c23e0 commit 5d519e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion baiduLinkSubmit.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ const computeAddedData = (oldData, newData) => {
const submit = (data) => {
return new Promise((resolve, reject) => {
var options = {
host: 'http://data.zz.baidu.com',
host: 'data.zz.baidu.com',
port: 80,
path:
'/urls?site=https://seata.io&token=' +
process.env.BAIDU_LINK_SUBMIT_TOKEN,
Expand Down

0 comments on commit 5d519e6

Please sign in to comment.