Telegram (ask questions / claim the issue here first): https://t.me/+DOylgFv1jyJlNzM0
Why this matters
metadata.ts:15 and layout.tsx:17 read NEXT_PUBLIC_SITE_URL (default http://localhost:3000) for metadataBase/canonical/OG, while robots.ts:25 and sitemap.ts:3 read NEXT_PUBLIC_APP_URL (default https://remitlend.com). Neither var is in frontend/.env.example. If only one is configured in prod, canonical/OG URLs and the sitemap/robots host point at different origins (e.g. canonical=localhost).
Acceptance criteria
Files to touch
frontend/src/app/lib/metadata.ts
frontend/src/app/layout.tsx
frontend/src/app/robots.ts
frontend/src/app/sitemap.ts
frontend/.env.example
Out of scope
Why this matters
metadata.ts:15 and layout.tsx:17 read NEXT_PUBLIC_SITE_URL (default http://localhost:3000) for metadataBase/canonical/OG, while robots.ts:25 and sitemap.ts:3 read NEXT_PUBLIC_APP_URL (default https://remitlend.com). Neither var is in frontend/.env.example. If only one is configured in prod, canonical/OG URLs and the sitemap/robots host point at different origins (e.g. canonical=localhost).
Acceptance criteria
Files to touch
frontend/src/app/lib/metadata.tsfrontend/src/app/layout.tsxfrontend/src/app/robots.tsfrontend/src/app/sitemap.tsfrontend/.env.exampleOut of scope