Archived
Changed test URL to real URL
This commit is contained in:
@@ -35,7 +35,7 @@ class DataFetcher {
|
|||||||
func doAsync(do task: String, completionHandler: @escaping (_ substitutions: [Any]) -> ()) {
|
func doAsync(do task: String, completionHandler: @escaping (_ substitutions: [Any]) -> ()) {
|
||||||
DispatchQueue(label: "work-queue").async {
|
DispatchQueue(label: "work-queue").async {
|
||||||
let foodUrl = "https://djd4rkn355.github.io/food.html"
|
let foodUrl = "https://djd4rkn355.github.io/food.html"
|
||||||
let url = "https://djd4rkn355.github.io/subst_test.html"
|
let url = "https://djd4rkn355.github.io/subst.html"
|
||||||
Alamofire.request(url).responseString { response in
|
Alamofire.request(url).responseString { response in
|
||||||
if let html = response.result.value {
|
if let html = response.result.value {
|
||||||
Alamofire.request(foodUrl).responseString { response in
|
Alamofire.request(foodUrl).responseString { response in
|
||||||
|
|||||||
Reference in New Issue
Block a user