Skip to content

Commit

Permalink
Update query-place.js
Browse files Browse the repository at this point in the history
Replaced the deprecated Geocoder endpoint (apps.gov.bc.ca) with the new endpoint (api.gov.bc.ca).
  • Loading branch information
BK01 committed Dec 7, 2023
1 parent 8d7a4bc commit d486b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/smk/query/query-place.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ include.module( 'query.query-place-js', [ 'query.query-js' ], function () {
$.ajax( {
timeout: 10 * 1000,
dataType: 'jsonp',
url: 'https://apps.gov.bc.ca/pub/geocoder/addresses.geojsonp',
url: 'https://geocoder.api.gov.bc.ca/addresses.geojsonp',
data: query,
} ).then( res, rej )
} )
Expand Down

0 comments on commit d486b10

Please sign in to comment.