Skip to content

Commit 21e0457

Browse files
committedDec 2, 2022
deply success
1 parent 28a1f7b commit 21e0457

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎functions/deploy-succeeded.js

-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import fetch from "node-fetch";
22
const siteMapUrl = "https://blog.boot.dev/sitemap.xml";
33
const googleEndpoint = `http://www.google.com/ping?sitemap=${siteMapUrl}`;
44
const yandexEndpoint = `https://webmaster.yandex.ru/ping?sitemap=${siteMapUrl}`;
5-
const bingEndpoint = `http://www.bing.com/webmaster/ping.aspx?siteMap=${siteMapUrl}`;
65

76
module.exports.handler = async () => {
87
const resp = await fetch(googleEndpoint);
@@ -11,7 +10,5 @@ module.exports.handler = async () => {
1110
const resp2 = await fetch(yandexEndpoint);
1211
console.log("Yandex status code:", resp2.status);
1312

14-
const resp3 = await fetch(bingEndpoint);
15-
console.log("Bing status code:", resp3.status);
1613
return { statusCode: 200, body: "" };
1714
};

0 commit comments

Comments
 (0)