mirror of
https://github.com/felipegcoutinho/openmonetis.git
synced 2026-05-09 02:51:46 +00:00
Remove `public/robots.txt` que era ignorado pelo Next.js em favor do `src/app/robots.ts` (Metadata API). Adiciona `/signup` à lista de rotas bloqueadas e remove referência ao `sitemap.xml` inexistente. Restaura o link `/robots.txt` no `llms.txt`. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
32 lines
497 B
TypeScript
32 lines
497 B
TypeScript
import type { MetadataRoute } from "next";
|
|
|
|
export default function robots(): MetadataRoute.Robots {
|
|
return {
|
|
rules: [
|
|
{
|
|
userAgent: "*",
|
|
allow: "/",
|
|
disallow: [
|
|
"/dashboard",
|
|
"/transactions",
|
|
"/accounts",
|
|
"/cards",
|
|
"/categories",
|
|
"/budgets",
|
|
"/payers",
|
|
"/notes",
|
|
"/insights",
|
|
"/calendar",
|
|
"/attachments",
|
|
"/settings",
|
|
"/reports",
|
|
"/inbox",
|
|
"/login",
|
|
"/signup",
|
|
"/api/",
|
|
],
|
|
},
|
|
],
|
|
};
|
|
}
|