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

    Function renderAdmin

    • renders one product surface; kept out of fetch as the only branch that returns HTML

      Parameters

      • request: Request
      • url: URL
      • env: SiteWorkerEnv
      • stub: {
            fetch: (
                input: URL | RequestInfo<unknown, CfProperties<unknown>>,
            ) => Promise<Response>;
        }
      • OptionalownerToken: string

      Returns Promise<Response>