Skip to content
This repository was archived by the owner on Oct 2, 2018. It is now read-only.
This repository was archived by the owner on Oct 2, 2018. It is now read-only.

does not work for static files (internal server/runserver) #3

@theandyl

Description

@theandyl

Hi,

great solution! Thanks. However, the middleware does not send headers when serving static files - this would be ok for Apache via WSGI since it can be achieved by mod_headers. But for local testing it would be great, if django-cors middleware would also add headers to files served by staticfiles. Is there a chance to do this?

thanks a lot!
Andy

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