Skip to content

fix: Update Algolia search credentials - #447

Open
sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/algolia-search-credentials
Open

sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/algolia-search-credentials

Conversation

@sentry

@sentry sentry Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

This PR addresses issue BLOG-5T where Algolia search was failing with a "RetryError: Unreachable hosts" due to incorrect appId and apiKey being hardcoded in the DocSearch component.

Changes Made:

  • Replaced the hardcoded appId and apiKey in src/components/docsearch-react.tsx with references to environment variables (import.meta.env.PUBLIC_ALGOLIA_APP_ID and import.meta.env.PUBLIC_ALGOLIA_API_KEY).
  • Declared PUBLIC_ALGOLIA_APP_ID and PUBLIC_ALGOLIA_API_KEY as required string environment variables in src/env.d.ts to ensure type safety and proper configuration.

Impact:
Algolia search will now function correctly once the PUBLIC_ALGOLIA_APP_ID and PUBLIC_ALGOLIA_API_KEY environment variables are set with the correct values in the deployment environment.

Fixes BLOG-5T

This PR was automatically generated by Sentry. You can adjust this setting at any time.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants