Skip to content

How to set CORS for public files? #796

@aalfiann

Description

@aalfiann

To access public files, I didn't use controller to handle this

It's just direct access to the url path and its working.

but the problem is, when I use ajax to get the files, it's blocked by Cross Origin.

How to solve this?

Btw, I use TotalJS 3. Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions