Skip to content

s deploy部署时使用的oss代码上传端点存在问题 #59

@lkorcm

Description

@lkorcm

问题代码位置。

if (process.env.FC_REGION === this.region) {

如果用户在本地执行工具(例如使用Serverless Devs工具)进行部署。且用户本地存在FC_REGION 环境变量。则会导致使用内部OSS端点。然后大部分用户本地其实根本没有使用VPN等工具创建到内网OSS端点的路由,就会导致无法完成部署

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