Skip to content
This repository has been archived by the owner on Feb 7, 2025. It is now read-only.

allow bots to bypass authorization and go directly to the default site #85

Merged
merged 3 commits into from
Dec 2, 2024

Conversation

briskt
Copy link
Contributor

@briskt briskt commented Nov 26, 2024

ETH-1042 Redirect Error

Added

  • Added configuration value DEFAULT_SITE, which is the site used for bots and unrecognized site keys.
  • Added optional TRUSTED_BOTS configuration that allows for simpler routing for bots. Redirect to the management server is bypassed and the bot is proxied directly to the default site.

@briskt briskt requested a review from a team as a code owner November 26, 2024 07:44
@briskt briskt requested review from jason-jackson and hobbitronics and removed request for a team November 26, 2024 07:44
Copy link

Copy link

@hobbitronics hobbitronics left a comment

Choose a reason for hiding this comment

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

Looks good, I just need some clarification about when newProxy is invoked.

main.go Show resolved Hide resolved
@briskt briskt merged commit a8467de into main Dec 2, 2024
4 checks passed
@briskt briskt deleted the bot-handling branch December 2, 2024 07:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants