Include delft in "unknown url" error
This commit is contained in:
parent
b00cf3dfea
commit
89f4a4748c
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ async fn ics(url: &str) -> String {
|
||||||
} else if url.starts_with("https://mytimetable.tudelft.nl/ical") {
|
} else if url.starts_with("https://mytimetable.tudelft.nl/ical") {
|
||||||
Source::Delft
|
Source::Delft
|
||||||
} else {
|
} 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();
|
let body = reqwest::get(url).await.unwrap().text().await.unwrap();
|
||||||
|
|
Loading…
Reference in a new issue