Skip to content

Option to enable CORS #69

@jerrygreen

Description

@jerrygreen

Currently I'm not able to request my little server function on Deno Deploy that I made with sift, because I'm getting an error:

Access to fetch at '<MY_DENO_DEPLOY_URL>' from origin 'http://127.0.0.1:5173' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

How can I setup allowed domains for CORS with sift?

I haven't found any corresponding docs.

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