drupflare/worker - v1.0.4
    Preparing search index...

    Function encodeSiteId

    • One host, one id, injectively: [a-z0-9.-] stays, anything else becomes _<hex>, and _ is outside the kept set, so two hosts never share a database.

      Parameters

      • identity: string

      Returns string