diff --git a/src/pages/#robots.txt.ts# b/src/pages/#robots.txt.ts# deleted file mode 100644 index e339795..0000000 --- a/src/pages/#robots.txt.ts# +++ /dev/null @@ -1,16 +0,0 @@ -import type { APIRoute } from "astro"; - -const robotsTxt = ` -User-agent: * -Allow: / - -Sitemap: ${new URL("sitemap-index.xml", import.meta.env.SITE).href} -`.trim(); - -export const GET: APIRoute = () => { - return new Response(robotsTxt, { - headers: { - "Content-Type": "text/plain; charset=utf-8", - }, - }); -}; \ No newline at end of file diff --git a/src/pages/index.astro b/src/pages/index.astro index c51dc44..238d5b8 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -3,14 +3,15 @@ --- -
- - - - -