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

    Function withOwnerHeader

    • Restates a cookie-borne token as a header for the object.

      /__git and /__firstrun?force=1 re-check the token where the secret lives and read a header, so a cookie-only request needs one attached.

      Parameters

      • request: Request
      • token: string

      Returns Request