# Served as a real file so it beats the SPA fallback: `not_found_handling: # single-page-application` in wrangler.jsonc answers every unknown path with # index.html, so before this file existed /robots.txt returned the app's HTML # with a 200 — which a crawler reads as a syntactically broken robots file. # The same is true of /sitemap.xml next to it. Verified by request, not # assumed; `curl https://win-trader.com/robots.txt` returned ``. User-agent: * # The app's own screens are all client-rendered from the same document, so # there is nothing to gain from crawling the ones behind a wallet — and a # crawler that indexes them lands users on a shell that asks them to connect. Disallow: /admin Disallow: /me Disallow: /experimental # The REST/SSE surface. Nothing under it is a page, and every response is # `cache-control: no-store`. Disallow: /api/ Sitemap: https://win-trader.com/sitemap.xml