Skip to content

Error on CloudFlare Workers #19

@BlakeB415

Description

@BlakeB415
Error: The 'credentials' field on 'RequestInitializerDict' is not implemented.
    at createRequest (VM4 worker.js:28479)
    at fetchAdapter (VM4 worker.js:28354)
    at dispatchRequest (VM4 worker.js:27722)
    at async setup (VM4 worker.js:71161)

options.credentials = config.withCredentials ? 'include' : 'omit';
This has to be undefined in a CF worker as they don't implement options.credentials for some reason.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions