We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28a1f7b commit 21e0457Copy full SHA for 21e0457
functions/deploy-succeeded.js
@@ -2,7 +2,6 @@ import fetch from "node-fetch";
2
const siteMapUrl = "https://blog.boot.dev/sitemap.xml";
3
const googleEndpoint = `http://www.google.com/ping?sitemap=${siteMapUrl}`;
4
const yandexEndpoint = `https://webmaster.yandex.ru/ping?sitemap=${siteMapUrl}`;
5
-const bingEndpoint = `http://www.bing.com/webmaster/ping.aspx?siteMap=${siteMapUrl}`;
6
7
module.exports.handler = async () => {
8
const resp = await fetch(googleEndpoint);
@@ -11,7 +10,5 @@ module.exports.handler = async () => {
11
10
const resp2 = await fetch(yandexEndpoint);
12
console.log("Yandex status code:", resp2.status);
13
14
- const resp3 = await fetch(bingEndpoint);
15
- console.log("Bing status code:", resp3.status);
16
return { statusCode: 200, body: "" };
17
};
0 commit comments