AppFeedback (TypeScript)
    Preparing search index...

    Interface RelayConfig

    interface RelayConfig {
        fetchImpl?: (
            input: RequestInfo | URL,
            init?: RequestInit,
        ) => Promise<Response>;
        githubToken: string;
        owner: string;
        repo: string;
        verifyCaptcha?: (token: string | null) => boolean | Promise<boolean>;
    }
    Index

    Properties

    fetchImpl?: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>

    Type Declaration

      • (input: RequestInfo | URL, init?: RequestInit): Promise<Response>
      • Parameters

        • input: RequestInfo | URL
        • Optionalinit: RequestInit

        Returns Promise<Response>

    githubToken: string
    owner: string
    repo: string
    verifyCaptcha?: (token: string | null) => boolean | Promise<boolean>

    Optional bot-mitigation check. Return false to reject (403).