Skip to content

Conversation

@hugodutka
Copy link
Contributor

Since coder/agentapi#49 was merged, agentapi by default only accepts requests with the Host header set to localhost, 127.0.0.1, or [::1]. In Coder, agentapi is served behind a reverse proxy as a workspace app, so we need to use a wildcard AGENTAPI_ALLOWED_HOSTS for agentapi-based modules to continue working.

This PR updates the claude code and agentapi modules, and a subsequent PR will update modules that are based on the agentapi module.

@hugodutka hugodutka requested a review from johnstcn August 11, 2025 13:45
@hugodutka hugodutka assigned matifali and hugodutka and unassigned matifali Aug 11, 2025
@hugodutka hugodutka requested a review from matifali August 11, 2025 13:46
Copy link
Member

@matifali matifali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@hugodutka hugodutka merged commit 507b73a into main Aug 11, 2025
4 checks passed
@hugodutka hugodutka deleted the hugodutka/allowed-hosts branch August 11, 2025 14:23
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.

3 participants