Store badges in Postgres, expose public/admin APIs, render an infinite footer slider, and ship /admin for paste-embed CRUD.
13 lines
271 B
TypeScript
13 lines
271 B
TypeScript
import type { MetadataRoute } from "next";
|
|
|
|
export default function robots(): MetadataRoute.Robots {
|
|
return {
|
|
rules: {
|
|
userAgent: "*",
|
|
allow: "/",
|
|
disallow: ["/admin", "/api/admin"],
|
|
},
|
|
sitemap: "https://songs2vid.com/sitemap.xml",
|
|
};
|
|
}
|