feat: 支持配置 safeDomain 用来支持一个网站多域名通信问题
This commit is contained in:
3
bin/types.ts
vendored
3
bin/types.ts
vendored
@@ -50,6 +50,9 @@ export interface PakeCliOptions {
|
||||
|
||||
/** 需要注入页面的外部脚本 */
|
||||
inject: string[];
|
||||
|
||||
/* the domain that can use ipc or tauri javascript sdk */
|
||||
safeDomain: string[];
|
||||
}
|
||||
|
||||
export interface PakeAppOptions extends PakeCliOptions {
|
||||
|
||||
Reference in New Issue
Block a user