Skip to content

How do I enable CORS? #129

Description

@jonathanhotono

Is it possible to extend the task to enable CORS on the header? So I can do something like this:
headers: { 'Access-Control-Allow-Origin': '*' },

I need to request for a few fonts request from the localhost via gulp-webserver.
If it is possible, then I should be able to perform request from my online web server against the font files(ttf,woff,etc) without having a CORS issue.
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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