From 3938cc059f48c18542ca96e9dd221e2508b7447b Mon Sep 17 00:00:00 2001 From: PiRomant <29551044+PiRomant@users.noreply.github.com> Date: Sun, 13 Aug 2023 11:10:48 +0700 Subject: [PATCH 1/2] add sitemap to robots.txt --- src/pages/api/rewrites/robots.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/api/rewrites/robots.tsx b/src/pages/api/rewrites/robots.tsx index 7696b6e..5f1539c 100644 --- a/src/pages/api/rewrites/robots.tsx +++ b/src/pages/api/rewrites/robots.tsx @@ -9,6 +9,8 @@ Disallow: /api Disallow: /board Disallow: /ckeditor Disallow: /iframes + +https://dtp-stat.ru/sitemap.xml `.trim(); const robotsTxtElsewhere = ` From 5b3680b52520cf69cdec37e87655aba6855a4e56 Mon Sep 17 00:00:00 2001 From: PiRomant <29551044+PiRomant@users.noreply.github.com> Date: Mon, 13 Nov 2023 22:32:57 +0700 Subject: [PATCH 2/2] Update robots.tsx --- src/pages/api/rewrites/robots.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/api/rewrites/robots.tsx b/src/pages/api/rewrites/robots.tsx index 5f1539c..e419a20 100644 --- a/src/pages/api/rewrites/robots.tsx +++ b/src/pages/api/rewrites/robots.tsx @@ -10,7 +10,7 @@ Disallow: /board Disallow: /ckeditor Disallow: /iframes -https://dtp-stat.ru/sitemap.xml +Sitemap: https://dtp-stat.ru/sitemap.xml `.trim(); const robotsTxtElsewhere = `