mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 08:44:04 +00:00
Chore: Allow MS Edge for real-browser monitor (#3941)
This commit is contained in:
parent
87b2e45fbf
commit
9379498b49
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,9 @@ if (process.platform === "win32") {
|
||||||
allowedList.push(process.env.PROGRAMFILES + "\\Chromium\\Application\\chrome.exe");
|
allowedList.push(process.env.PROGRAMFILES + "\\Chromium\\Application\\chrome.exe");
|
||||||
allowedList.push(process.env["ProgramFiles(x86)"] + "\\Chromium\\Application\\chrome.exe");
|
allowedList.push(process.env["ProgramFiles(x86)"] + "\\Chromium\\Application\\chrome.exe");
|
||||||
|
|
||||||
|
// Allow MS Edge
|
||||||
|
allowedList.push(process.env["ProgramFiles(x86)"] + "\\Microsoft\\Edge\\Application\\msedge.exe");
|
||||||
|
|
||||||
// For Loop A to Z
|
// For Loop A to Z
|
||||||
for (let i = 65; i <= 90; i++) {
|
for (let i = 65; i <= 90; i++) {
|
||||||
let drive = String.fromCharCode(i);
|
let drive = String.fromCharCode(i);
|
||||||
|
|
Loading…
Reference in a new issue