Updated URL in configuration to point directly to the HA portal instead of the dashboard
This commit is contained in:
Generated
+1
-1
@@ -4,7 +4,7 @@ version = 4
|
||||
|
||||
[[package]]
|
||||
name = "WVUMedicine_HelpAlert_WebClient"
|
||||
version = "1.0.0"
|
||||
version = "1.0.1"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"serde_json",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "WVUMedicine_HelpAlert_WebClient"
|
||||
version = "1.0.0"
|
||||
version = "1.0.1"
|
||||
description = "Help Alert Web Client"
|
||||
authors = ["James Brotosky <james.brotosky@wvumedicine.org"]
|
||||
edition = "2021"
|
||||
|
||||
@@ -13,7 +13,7 @@ pub fn run() {
|
||||
let show = MenuItem::with_id(app, "show", "Open", true, None::<&str>)?;
|
||||
let quit = MenuItem::with_id(app, "quit", "Quit", true, None::<&str>)?;
|
||||
let menu = Menu::with_items(app, &[&show, &quit])?;
|
||||
let url = WebviewUrl::External("https://helpalert.wvumedicine.org".parse().unwrap());
|
||||
let url = WebviewUrl::External("https://helpalert.wvumedicine.org/ha".parse().unwrap());
|
||||
let w_handle = app.handle().clone();
|
||||
WebviewWindowBuilder::new(app, "main", url)
|
||||
.title("WVU Medicine Help Alert")
|
||||
@@ -25,7 +25,7 @@ pub fn run() {
|
||||
let _ = w.eval(
|
||||
"document.documentElement.innerHTML = \
|
||||
'<head><style>*{margin:0;padding:0}html,body{height:100%;overflow:hidden}iframe{width:100%;height:100%;border:none}</style></head>' + \
|
||||
'<body><iframe src=\"https://helpalert.wvumedicine.org/PinPoint/helpalert.html\"></iframe></body>';"
|
||||
'<body><iframe src=\"https://helpalert.wvumedicine.org/ha\"></iframe></body>';"
|
||||
);
|
||||
}
|
||||
return false;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://schema.tauri.app/config/2",
|
||||
"productName": "WVUMedicine Help Alert Web Client",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"identifier": "org.wvumedicine.duress",
|
||||
"build": {
|
||||
"frontendDist": "../src"
|
||||
|
||||
Reference in New Issue
Block a user