Skip to content

Commit

Permalink
http --> https
Browse files Browse the repository at this point in the history
Call isn't going through and I think it's because i'm using http instead of https. This might be a security restriction with GitHub Actions.
  • Loading branch information
nataliejschultz committed Jun 17, 2024
1 parent 8186a2d commit 9d7b2f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emission/individual_tests/TestOverpass.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def setUp(self):
sample_data = '[out:json][bbox];way[amenity=parking];out;&bbox=-122.1111238,37.4142118,-122.1055791,37.4187945'
call_base = 'api/interpreter?data='
self.de_url_base = 'https://lz4.overpass-api.de/'+ call_base + sample_data
self.gfbk_url_base = 'http://overpass.geofabrik.de/' + OVERPASS_KEY + '/' + call_base + sample_data
self.gfbk_url_base = 'https://overpass.geofabrik.de/' + OVERPASS_KEY + '/' + call_base + sample_data

def test_overpass(self):
r_gfbk = requests.get(self.gfbk_url_base)
Expand Down

0 comments on commit 9d7b2f5

Please sign in to comment.