Skip to content
This repository was archived by the owner on Aug 24, 2019. It is now read-only.
This repository was archived by the owner on Aug 24, 2019. It is now read-only.

怎么在docker里面通过环境变量设置URL #10

@haohetao

Description

@haohetao

设置环境变量不生效
export const common = {
api: {
URL: process.env.SERVER_URL || http://update.aa.com, // production code-push-server address
devURL: process.env.SERVER_URL || http://update.aa.com, // development code-push-server address
},
};
process.env能读到,但是网页上不生效

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