Skip to content

Conversation

reakaleek
Copy link
Member

@reakaleek reakaleek commented Sep 2, 2025

Changes

  • Add an endpoint that handles HEAD request
  • Only render the Search or Ask AI bar if the HEAD request is succesful

Context

If the user is allowed to access the API endpoint because he is on VPN, the search bar will appear. (Allow listing is configured in cloudfront)

@reakaleek reakaleek requested a review from a team as a code owner September 2, 2025 14:49
@reakaleek reakaleek self-assigned this Sep 2, 2025
@reakaleek reakaleek merged commit 4fd3a61 into main Sep 2, 2025
20 checks passed
@reakaleek reakaleek deleted the feature/show-search-or-ask-ai-bar-conditionally branch September 2, 2025 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants