Skip to content

编译后如何部署?客户端请求后无法返回数据 #446

@xiejife

Description

@xiejife

Describe the bug

编译部署:
网页版本:我把browser下的dist拷贝到nginx下可以访问,但是请求不到/api/unit
客户端版本:执行build:win:noSign 才会生产exe,但是也跟开发环境一样无法请求到后台数据一致在等待返回

开发环境:
客户端版本开发启动的时候可以正常打开,但是不能请求到接口数据,也没有保存,一直在等待返回,无法触发receiveMessage
开发环境下的web网页是正常请求和返回结果的

Environment

0.5.2
代码直接运行的

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