File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -122,8 +122,13 @@ module.exports = (inputConfigs) => {
122
122
// insights dev
123
123
...( ! isStandalone &&
124
124
! isBuild && {
125
- appUrl : customConfigs . UI_BASE_PATH ,
126
- deployment : cloudBeta !== 'false' ? 'preview/apps' : 'apps' ,
125
+ appUrl : customConfigs . UI_BASE_PATH . includes ( '/preview/' )
126
+ ? [
127
+ customConfigs . UI_BASE_PATH ,
128
+ customConfigs . UI_BASE_PATH . replace ( '/preview/' , '/beta/' ) ,
129
+ ]
130
+ : customConfigs . UI_BASE_PATH ,
131
+ deployment : cloudBeta !== 'false' ? 'beta/apps' : 'apps' ,
127
132
standalone : {
128
133
api : {
129
134
context : [ customConfigs . API_BASE_PATH ] ,
@@ -138,7 +143,7 @@ module.exports = (inputConfigs) => {
138
143
// insights deployments from master
139
144
...( ! isStandalone &&
140
145
cloudBeta && {
141
- deployment : cloudBeta === 'true' ? 'preview /apps' : 'apps' ,
146
+ deployment : cloudBeta === 'true' ? 'beta /apps' : 'apps' ,
142
147
} ) ,
143
148
} ) ;
144
149
You can’t perform that action at this time.
0 commit comments