Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@fabiogermann
Copy link

No description provided.

services:
ladder:
image: ghcr.io/everywall/ladder:latest
# image: ghcr.io/everywall/ladder:latest

Choose a reason for hiding this comment

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

Pretty sure this is leftover debugging changes

- FLARESOLVERR_HOST=http://flaresolverr:8191
ports:
- "8080:8080"
- "8088:8080"

Choose a reason for hiding this comment

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

Same as these changes

domains:
- www.beispiel.de
googleCache: true
# useFlareSolverr: true # Optional: Set to true to bypass Cloudflare protection using FlareSolverr service

Choose a reason for hiding this comment

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

Suggested change
# useFlareSolverr: true # Optional: Set to true to bypass Cloudflare protection using FlareSolverr service
useFlareSolverr: false

return "", fmt.Errorf("FLARESOLVERR_HOST environment variable not set")
}

reqBody := FlareSolverrRequest{

Choose a reason for hiding this comment

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

This is the only place you use FlareSolverrRequest, I don't know Go enough but maybe you can just inline it

| `EXPOSE_RULESET` | Make your Ruleset available to other ladders | `true` |
| `ALLOWED_DOMAINS` | Comma separated list of allowed domains. Empty = no limitations | `` |
| `ALLOWED_DOMAINS_RULESET` | Allow Domains from Ruleset. false = no limitations | `false` |
| `FLARESOLVERR_URL` | URL for the FlareSolverr service for Cloudflare bypass (optional) | `http://localhost:8191` |

Choose a reason for hiding this comment

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

FLARESOLVERR_HOST in your code

@martijnboers
Copy link

Not a maintainer but like this change. Gonna do a functional test this week

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.

2 participants