Include delft in "unknown url" error
This commit is contained in:
parent
b00cf3dfea
commit
89f4a4748c
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue