diff --git a/src/pages/docs.ts b/src/pages/docs.ts index a76e17c..452f683 100644 --- a/src/pages/docs.ts +++ b/src/pages/docs.ts @@ -134,8 +134,10 @@ export function docsPage(): string {
extracting the base URL into a constant (or env var) makes it easy to switch back
- if you ever need to. once you're settled, consider moving the path to the canonical
- tech.waow.typeahead.searchActors too — the response is identical.
+ if you ever need to. that rollback only works while you're on the alias path —
+ bluesky doesn't serve tech.waow.typeahead.searchActors. once you no
+ longer need the escape hatch, move the path to the canonical endpoint too — the
+ response is identical.
const response = await fetch(
- \`\${TYPEAHEAD_URL}/xrpc/tech.waow.typeahead.searchActors?q=\${encodeURIComponent(query)}&limit=10\`,
+ \`https://typeahead.waow.tech/xrpc/tech.waow.typeahead.searchActors?q=\${encodeURIComponent(query)}&limit=10\`,
{ headers: { 'X-Client': 'my-app.example.com' } }
);