placeholder
This commit is contained in:
parent
c638086d93
commit
5e5d6166d5
@ -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",
|
|
||||||
},
|
|
||||||
});
|
|
||||||
};
|
|
||||||
@ -12,5 +12,6 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Ryan Pandya</h1>
|
<h1>Ryan Pandya</h1>
|
||||||
|
<h4>More to come.</h4>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
||||||
<meta name="viewport" content="width=device-width" />
|
|
||||||
<meta name="generator" content={Astro.generator} />
|
|
||||||
<title>Astro</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Astro</h1>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
Loading…
Reference in New Issue
Block a user