@lark-apaas/devtool-kits 1.2.8 → 1.2.9
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 +6 -0
- package/package.json +1 -1
package/dist/error.html
CHANGED
|
@@ -171,6 +171,12 @@
|
|
|
171
171
|
// 获取父窗口 origin
|
|
172
172
|
function getPreviewParentOrigin() {
|
|
173
173
|
const { origin } = window.location;
|
|
174
|
+
if (origin.includes('force.feishuapp.net')) {
|
|
175
|
+
return 'https://force.feishu.cn';
|
|
176
|
+
}
|
|
177
|
+
if (origin.includes('force-pre.feishuapp.net')) {
|
|
178
|
+
return 'https://force.feishu-pre.cn';
|
|
179
|
+
}
|
|
174
180
|
// force BOE环境
|
|
175
181
|
if (origin.includes('force.byted.org')) {
|
|
176
182
|
return 'https://force.feishu-boe.cn';
|