From 89f4a4748c6f41ecb60c131a79ee2ec6fe7f5528 Mon Sep 17 00:00:00 2001 From: Sijmen Date: Sun, 4 Dec 2022 15:04:41 +0100 Subject: [PATCH] Include delft in "unknown url" error --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index cea9933..45c2932 100644 --- a/src/main.rs +++ b/src/main.rs @@ -48,7 +48,7 @@ async fn ics(url: &str) -> String { } else if url.starts_with("https://mytimetable.tudelft.nl/ical") { Source::Delft } else { - return "Must be a rooster.utwente.nl URL".to_string(); + return "Must be a rooster.utwente.nl or mytimetable.tudelft.nl URL".to_string(); }; let body = reqwest::get(url).await.unwrap().text().await.unwrap();