From e65791ac96dcf8da7cc5f98bd1af805af75db64a Mon Sep 17 00:00:00 2001 From: crab85193 Date: Mon, 18 Dec 2023 21:50:47 +0900 Subject: [PATCH] fix --- src/google_api_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/google_api_controller.py b/src/google_api_controller.py index 3eb6161..56c0226 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_ADDRESS')}/static/{place_id}.jpg" + return f"{os.environ.get('IMAGE_SERVER_PROTOCOL')}://{os.environ.get('IMAGE_SERVER_ADDRESS')}/static/{place_id}.jpg" def search_store(self, keyword): location = geocoder.ip('me').latlng