Skip to content

Initial settings: disableHostCheck, Cross-Origin #46

Open
@totobrei

Description

@totobrei

Hi, I appreciate your work!

When following the installation guide, it is not working out of the box. In
vue.config.js
I have to add

devServer: {
    disableHostCheck: true,
    ... 
}

to see the vue start page.

The web beowser console is repeatedly generating Cross-Origin blocks. So is some communication still bocked between vue and django by Cross-Origin rule of django or vue?
Am I doing something wrong or is it intended to be like this? Is djangos corsheaders needed to allow communication?

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