Skip to content

跨域错误 #17

@konglingwen94

Description

@konglingwen94

Failed to load http://192.168.1.6:3000/v1/banner: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access.

看到作者有设置 res.header("Access-Control-Allow-Origin", "*");
但是跑起来还是报错

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