前端部署.env要如何设置

提问 1 778
版本:renren-security 开发环境:
想要http和https同时都可以访问的话,前端部署下面几个文件要如何更改 下面这几文件在哪里配置。*系统怎么知道我是那个环境,我要怎么设置 ├── .env.development //开发环境 ├── .env.production //⽣产环境 ├── .env.production.sit //测试环境 ├── .env.production.uat //验收环境 img[//cdn.renren.io/08333202304191255363396.png]
回帖
  • http和https同时访问,一般都是配置nginx跳转进行处理的,代码里面只需配置https地址,就可以了
    0 回复