mirror of
https://github.com/felipegcoutinho/openmonetis.git
synced 2026-05-09 11:01:45 +00:00
fix(robots): remove estático duplicado, corrige robots.ts e llms.txt
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>
This commit is contained in:
@@ -27,6 +27,10 @@ The public website is mainly a landing page; the main technical documentation li
|
|||||||
|
|
||||||
- [CLAUDE.md](https://github.com/felipegcoutinho/openmonetis/blob/main/CLAUDE.md): Project architecture, naming rules, query rules, and feature checklist
|
- [CLAUDE.md](https://github.com/felipegcoutinho/openmonetis/blob/main/CLAUDE.md): Project architecture, naming rules, query rules, and feature checklist
|
||||||
|
|
||||||
|
## Optional
|
||||||
|
|
||||||
|
- [robots.txt](/robots.txt): Crawl policy for the public site
|
||||||
|
|
||||||
## Related Projects
|
## Related Projects
|
||||||
|
|
||||||
- [OpenMonetis Companion](https://github.com/felipegcoutinho/openmonetis-companion): Android app that captures bank notifications and sends them to the OpenMonetis inbox for review
|
- [OpenMonetis Companion](https://github.com/felipegcoutinho/openmonetis-companion): Android app that captures bank notifications and sends them to the OpenMonetis inbox for review
|
||||||
|
|||||||
@@ -1,20 +0,0 @@
|
|||||||
User-agent: *
|
|
||||||
Allow: /$
|
|
||||||
Allow: /llms.txt
|
|
||||||
Disallow: /dashboard
|
|
||||||
Disallow: /transactions
|
|
||||||
Disallow: /accounts
|
|
||||||
Disallow: /cards
|
|
||||||
Disallow: /categories
|
|
||||||
Disallow: /budgets
|
|
||||||
Disallow: /payers
|
|
||||||
Disallow: /notes
|
|
||||||
Disallow: /insights
|
|
||||||
Disallow: /calendar
|
|
||||||
Disallow: /inbox
|
|
||||||
Disallow: /attachments
|
|
||||||
Disallow: /reports
|
|
||||||
Disallow: /settings
|
|
||||||
Disallow: /login
|
|
||||||
Disallow: /signup
|
|
||||||
Disallow: /api/
|
|
||||||
@@ -1,9 +1,5 @@
|
|||||||
import type { MetadataRoute } from "next";
|
import type { MetadataRoute } from "next";
|
||||||
|
|
||||||
const BASE_URL = process.env.PUBLIC_DOMAIN
|
|
||||||
? `https://${process.env.PUBLIC_DOMAIN}`
|
|
||||||
: "https://openmonetis.com";
|
|
||||||
|
|
||||||
export default function robots(): MetadataRoute.Robots {
|
export default function robots(): MetadataRoute.Robots {
|
||||||
return {
|
return {
|
||||||
rules: [
|
rules: [
|
||||||
@@ -21,15 +17,15 @@ export default function robots(): MetadataRoute.Robots {
|
|||||||
"/notes",
|
"/notes",
|
||||||
"/insights",
|
"/insights",
|
||||||
"/calendar",
|
"/calendar",
|
||||||
"/consultor",
|
"/attachments",
|
||||||
"/settings",
|
"/settings",
|
||||||
"/reports",
|
"/reports",
|
||||||
"/inbox",
|
"/inbox",
|
||||||
"/login",
|
"/login",
|
||||||
|
"/signup",
|
||||||
"/api/",
|
"/api/",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
sitemap: `${BASE_URL}/sitemap.xml`,
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user