Skip to content

Cors and Kind port mismatched with front end vue #2

@rayguo17

Description

@rayguo17

image
while vue front end fetching from "http://localhost" which is port 80, the actual port mapping in the kind-config.yaml is mapping container's port 80 to real world port 40080.
What's more, due to chrome's auto cors problem, we should add configuration for cors both in frontend vue and backend go.

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