Skip to content

ability to configure cors origin #95

@iainkirkpatrick

Description

@iainkirkpatrick

currently dogstack allows configuring of cors requests by taking asset.url from the app-provided config, parsing that url with url.parse(), and passing it to the cors middleware.
This is pretty inflexible, and the cors middleware can be passed other options (i.e. a whitelist, a regexp) - it'd be rad to implement these.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions