forked from p15670423/monkey
Using protocol as well for cases when we are running on HTTP and not HTTPS (npm run start for example)
This commit is contained in:
parent
d4947d97f3
commit
9f98025d33
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"server_config": "standard",
|
||||
"server_config": "testing",
|
||||
"deployment": "develop"
|
||||
}
|
||||
|
|
|
@ -215,7 +215,8 @@ class AppComponent extends AuthComponent {
|
|||
if (this.shouldShowNotification()) {
|
||||
const hostname = window.location.hostname;
|
||||
const port = window.location.port;
|
||||
const url = `https://${hostname}:${port}${reportZeroTrustRoute}`;
|
||||
const protocol = window.location.protocol;
|
||||
const url = `${protocol}//${hostname}:${port}${reportZeroTrustRoute}`;
|
||||
|
||||
Notifier.start(
|
||||
"Monkey Island",
|
||||
|
|
Loading…
Reference in New Issue