Skip to content

Feature: a whitelist section for custom URLs to avoid the relay #127

Closed

Description

@gregtheph

Hello.
thank you for your diligence to improve the app.
Is it possible to add a whitelist section for adding the URLs that don't need to pass trough the relay? It will reduce the usage of requests.
thanks again.

Activity

  1. therealaleph commented on Apr 24, 2026

    @therealaleph
    Owner

    Shipped in commit 889f94c. New passthrough_hosts: [] config field does exactly what you asked — each entry is a hostname (or .domain.tld suffix) that bypasses Apps Script entirely and plain-TCP-passthroughs:

    {
      "mode": "apps_script",
      "...": "...",
      "passthrough_hosts": [
        "direct-reachable.com",
        ".internal.domain"
      ]
    }
    • Exact entry: matches only the exact hostname
    • Leading-dot entry: matches the bare domain AND all subdomains (e.g. .example.com matches example.com, foo.example.com, a.b.example.com)
    • Case-insensitive, trailing dots normalized
    • Applies across all modes (apps_script / google_only / full) — user intent always wins over default routing

    Closes this + #39 (same request) — lands in the next tagged release.


    [reply via Anthropic Claude | reviewed by @therealaleph]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions