mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-17 17:19:30 -07:00
remove ajax for json requests
This commit is contained in:
@@ -180,7 +180,11 @@ const index = (() => {
|
||||
doRedirectToGeometry(overrides[suggestion.value]);
|
||||
} else {
|
||||
request = $.ajax({
|
||||
<<<<<<< Updated upstream
|
||||
url: 'https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/find',
|
||||
=======
|
||||
url: location.protocol + 'https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/find',
|
||||
>>>>>>> Stashed changes
|
||||
data: {
|
||||
text: suggestion.value,
|
||||
magicKey: suggestion.data,
|
||||
|
||||
Reference in New Issue
Block a user