fix: suppress insecure resource warning for more local hostnames (#30885)
* fix: suppress insecure resource warning for more local hostnames * fix tests
This commit is contained in:
parent
82da4b0090
commit
e38a0a67c6
3 changed files with 8 additions and 3 deletions
|
@ -30,6 +30,7 @@ app.on('window-all-closed', () => null);
|
|||
|
||||
// Use fake device for Media Stream to replace actual camera and microphone.
|
||||
app.commandLine.appendSwitch('use-fake-device-for-media-stream');
|
||||
app.commandLine.appendSwitch('host-rules', 'MAP localhost2 127.0.0.1');
|
||||
|
||||
global.standardScheme = 'app';
|
||||
global.zoomScheme = 'zoom';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue