seo: add robots.ts with sitemap reference
This commit is contained in:
parent
8f018cb187
commit
2af2486e90
1 changed files with 14 additions and 0 deletions
14
src/app/robots.ts
Normal file
14
src/app/robots.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
import { MetadataRoute } from "next";
|
||||||
|
|
||||||
|
export default function robots(): MetadataRoute.Robots {
|
||||||
|
return {
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
userAgent: "*",
|
||||||
|
allow: "/",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
sitemap: "https://www.wilddragon.net/sitemap.xml",
|
||||||
|
host: "https://www.wilddragon.net",
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue