@scolastico-dev/open-altcha
    Preparing search index...

    Class BaseConfigService

    Index

    Properties

    demoEnabled: boolean = ...

    Enable demo endpoints. /demo serves a demo HTML page. /ip shows detected client IP address for verification.

    DEMO_ENABLED

    false
    
    DEMO_ENABLED=true
    
    ipv6StripBits: number = ...

    Number of bits to strip from IPv6 addresses for privacy/rate limiting. Default is 64, which strips the last 64 bits (interface identifier). Set to 0 to disable IPv6 stripping.

    IPV6_STRIP_BITS

    64
    
    IPV6_STRIP_BITS=64
    
    logLevel: string = ...

    Set the log level. Available levels: error, warn, log, debug, verbose.

    LOG_LEVEL

    log
    
    LOG_LEVEL=debug
    
    port: number = ...

    The port on which the server will run.

    PORT

    3000
    
    PORT=3000
    
    trustedIpHeader: string = ...

    The ip header to trust for client IP extraction, if not provided directly.

    TRUSTED_IP_HEADER

    ''
    
    TRUSTED_IP_HEADER=X-Forwarded-For