Skip to content

Commit

Permalink
fix: Update Dockerfile to address security issues
Browse files Browse the repository at this point in the history
  • Loading branch information
wktls63 committed Oct 4, 2024
1 parent 1816b7b commit 7583b3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion services/content-service/app/community.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# 사용자 정보 가져오기 함수
def get_user_info(author_id: int):
try:
response = requests.get(f"http://user-service:8001/api/users/{author_id}")
response = requests.get(f"https://user-service:8001/api/users/{author_id}")
if response.status_code == 200:
return response.json()
else:
Expand Down
2 changes: 1 addition & 1 deletion services/content-service/tests/test_community.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# 유저 서비스 호출 함수
def get_user_info(author_id: int):
try:
response = requests.get(f"http://user-service:8001/api/users/{author_id}")
response = requests.get(f"https://user-service:8001/api/users/{author_id}")
if response.status_code == 200:
return response.json()
else:
Expand Down

0 comments on commit 7583b3d

Please sign in to comment.