Archived
Prohibited WebView in LoginViewController from visiting a domain other than the school's login page, updated link for fetching substitutions
This commit is contained in:
@@ -37,7 +37,7 @@ class DataFetcher {
|
||||
func doAsync(do task: String, completionHandler: @escaping (_ substitutions: [Any]) -> ()) {
|
||||
DispatchQueue(label: "work-queue").async {
|
||||
let foodUrl = "https://djd4rkn355.github.io/food.html"
|
||||
let url = "https://djd4rkn355.github.io/subst.html"
|
||||
let url = "https://djd4rkn355.github.io/avh_substitutions.html"
|
||||
Alamofire.request(url).responseString { response in
|
||||
if let html = response.result.value {
|
||||
Alamofire.request(foodUrl).responseString { response in
|
||||
|
||||
Reference in New Issue
Block a user