fix(backend javascript): Updated URL in inject.js
This commit is contained in:
Generated
+1
-1
@@ -4,7 +4,7 @@ version = 4
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "WVUMedicine_HelpAlert_WebClient"
|
name = "WVUMedicine_HelpAlert_WebClient"
|
||||||
version = "1.0.1"
|
version = "1.0.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "WVUMedicine_HelpAlert_WebClient"
|
name = "WVUMedicine_HelpAlert_WebClient"
|
||||||
version = "1.0.1"
|
version = "1.0.2"
|
||||||
description = "Help Alert Web Client"
|
description = "Help Alert Web Client"
|
||||||
authors = ["James Brotosky <james.brotosky@wvumedicine.org"]
|
authors = ["James Brotosky <james.brotosky@wvumedicine.org"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://schema.tauri.app/config/2",
|
"$schema": "https://schema.tauri.app/config/2",
|
||||||
"productName": "WVUMedicine Help Alert Web Client",
|
"productName": "WVUMedicine Help Alert Web Client",
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
"identifier": "org.wvumedicine.duress",
|
"identifier": "org.wvumedicine.duress",
|
||||||
"build": {
|
"build": {
|
||||||
"frontendDist": "../src"
|
"frontendDist": "../src"
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
if (url) { window.location.href = url; return null; }
|
if (url) { window.location.href = url; return null; }
|
||||||
return originalOpen.apply(this, arguments);
|
return originalOpen.apply(this, arguments);
|
||||||
};
|
};
|
||||||
if (window.location.href.includes('helpalert.html')) {
|
if (window.location.href.includes('/ha') || window.location.href.includes('helpalert.html')) {
|
||||||
if (Notification.permission === 'default') {
|
if (Notification.permission === 'default') {
|
||||||
Notification.requestPermission();
|
Notification.requestPermission();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user