Compare commits
1 Commits
d6e6acc400
...
6f55f79281
| Author | SHA1 | Date | |
|---|---|---|---|
| 6f55f79281 |
@ -17,7 +17,7 @@ async fn main() {
|
|||||||
let application = Arc::new(RustWebapp {
|
let application = Arc::new(RustWebapp {
|
||||||
name: "harmony-example-tryrust".to_string(),
|
name: "harmony-example-tryrust".to_string(),
|
||||||
project_root: PathBuf::from("./tryrust.org"), // <== Project root, in this case it is a
|
project_root: PathBuf::from("./tryrust.org"), // <== Project root, in this case it is a
|
||||||
// submodule
|
// submodule
|
||||||
framework: Some(RustWebFramework::Leptos),
|
framework: Some(RustWebFramework::Leptos),
|
||||||
service_port: 8080,
|
service_port: 8080,
|
||||||
});
|
});
|
||||||
@ -30,12 +30,10 @@ async fn main() {
|
|||||||
}),
|
}),
|
||||||
Box::new(Monitoring {
|
Box::new(Monitoring {
|
||||||
application: application.clone(),
|
application: application.clone(),
|
||||||
alert_receiver: vec![
|
alert_receiver: vec![Box::new(DiscordWebhook {
|
||||||
Box::new(DiscordWebhook {
|
name: "test-discord".to_string(),
|
||||||
name: "test-discord".to_string(),
|
url: hurl!("https://discord.doesnt.exist.com"),
|
||||||
url: hurl!("https://discord.doesnt.exist.com"),
|
})],
|
||||||
}),
|
|
||||||
],
|
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
application,
|
application,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user