Include delft in "unknown url" error

This commit is contained in:
Sijmen 2022-12-04 15:04:41 +01:00
parent b00cf3dfea
commit 89f4a4748c
Signed by: vijfhoek
GPG Key ID: DAF7821E067D9C48
1 changed files with 1 additions and 1 deletions

View File

@ -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();