From a660d989f69a54abb51136ab44779ff9caf52fc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E4=B8=80=E4=BA=8C?= Date: Mon, 4 Apr 2022 17:06:25 +0800 Subject: [PATCH] Update index.ts --- src/services/view/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/services/view/index.ts b/src/services/view/index.ts index 7f5a09d7..be98caf3 100644 --- a/src/services/view/index.ts +++ b/src/services/view/index.ts @@ -264,6 +264,7 @@ export class View implements IViewService { nodeIntegration: false, contextIsolation: true, // allow loading pictures from the localhost network, you may want to setup img host services in your local network, set this to true will cause CORS + // TODO: make this a setting in security preference webSecurity: false, allowRunningInsecureContent: true, session: sessionOfView,