Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants