diff --git a/src/google_api_controller.py b/src/google_api_controller.py index 56c0226..3eb6161 100644 --- a/src/google_api_controller.py +++ b/src/google_api_controller.py @@ -33,7 +33,7 @@ def download_place_photo(self, photo_reference, file_name=None): def get_store_photo_url(self, photo_reference, place_id): self.download_place_photo(photo_reference, place_id) - return f"{os.environ.get('IMAGE_SERVER_PROTOCOL')}://{os.environ.get('IMAGE_SERVER_ADDRESS')}/static/{place_id}.jpg" + return f"//{os.environ.get('IMAGE_SERVER_ADDRESS')}/static/{place_id}.jpg" def search_store(self, keyword): location = geocoder.ip('me').latlng