SAP Spartacus如何为不同的environment设置不同的baseUrl
生活随笔
收集整理的這篇文章主要介紹了
SAP Spartacus如何为不同的environment设置不同的baseUrl
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
這里說的不同的environment意思是指Dev,QA和Prod這些environment.
Currently in the build job, SAP Commerce Cloud always run ng build command which always pick the default app.module.ts irrespective of maintaining this property in environment specific basis, hence all environments will have one environment’s OCC base urls which is not correct.
這個鏈接里有解決方案。
參考這個Github倉庫.
只要把app.module.ts里的baseUrl注釋掉,則build時, the hosting service will substitute the proper server value.
總結
以上是生活随笔為你收集整理的SAP Spartacus如何为不同的environment设置不同的baseUrl的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 第五人格tt语音什么意思?怎么开黑语音
- 下一篇: 上下文无关语法