@lark-apaas/devtool-kits 1.2.3 → 1.2.5-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/error.html +7 -3
- package/package.json +1 -1
package/dist/error.html
CHANGED
|
@@ -171,15 +171,19 @@
|
|
|
171
171
|
// 获取父窗口 origin
|
|
172
172
|
function getPreviewParentOrigin() {
|
|
173
173
|
const { origin } = window.location;
|
|
174
|
-
//
|
|
174
|
+
// force BOE环境
|
|
175
|
+
if (origin.includes('force.byted.org')) {
|
|
176
|
+
return 'https://force.feishu-boe.cn';
|
|
177
|
+
}
|
|
178
|
+
// MIAODA 线上环境
|
|
175
179
|
if (origin.includes('feishuapp.cn') || origin.includes('miaoda.feishuapp.net')) {
|
|
176
180
|
return 'https://miaoda.feishu.cn';
|
|
177
181
|
}
|
|
178
|
-
// PRE 环境
|
|
182
|
+
// MIAODA PRE 环境
|
|
179
183
|
if (origin.includes('fsapp.kundou.cn') || origin.includes('miaoda-pre.feishuapp.net')) {
|
|
180
184
|
return 'https://miaoda.feishu-pre.cn';
|
|
181
185
|
}
|
|
182
|
-
// BOE 环境
|
|
186
|
+
// MIAODA BOE 环境
|
|
183
187
|
return 'https://miaoda.feishu-boe.cn';
|
|
184
188
|
}
|
|
185
189
|
|