Closed tangkepeng closed 3 years ago
请在 config/config.prod.js 中配置 server_path server_api 为你服务器的真实信息
server_path
server_api
Originally posted by @doramart in https://github.com/doramart/DoraCMS/issues/233#issuecomment-653867620
我已经在 config/config.prod.js 中配置 server_path server_api 为服务器的真实信息,环境变量也设置成production了,但这两个还是访问的开发环境路径,其它资源的加载都是正常的,这是什么原因导致的呢? http://127.0.0.1:8888/static/navbar/js/app.js http://127.0.0.1:8888/static/dashboard/js/app.js,
请在 config/config.prod.js 中配置
server_path
server_api
为你服务器的真实信息Originally posted by @doramart in https://github.com/doramart/DoraCMS/issues/233#issuecomment-653867620
我已经在 config/config.prod.js 中配置![微信截图_20210521164421](https://user-images.githubusercontent.com/12723060/119109702-f88d6500-ba53-11eb-8eb8-97f860f1b9a0.png)
server_path
server_api
为服务器的真实信息,环境变量也设置成production了,但这两个还是访问的开发环境路径,其它资源的加载都是正常的,这是什么原因导致的呢? http://127.0.0.1:8888/static/navbar/js/app.js http://127.0.0.1:8888/static/dashboard/js/app.js,