Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#45 Server URL 설정 #46

Merged
merged 1 commit into from
Sep 9, 2024
Merged

#45 Server URL 설정 #46

merged 1 commit into from
Sep 9, 2024

Conversation

min-0
Copy link
Member

@min-0 min-0 commented Sep 9, 2024

What is this PR? 🔍

Swagger에서 API 요청 시 request url과 실제 운영 서버 url이 달라서 Failed to fetch 오류 발생

Changes 📝

  • SwaggerConfig에서 server url 설정
    https://mapddng.site 로 넣어도 되지만, localhost에서 실행 시 또 url이 달라서 안되기 때문에 자동으로 서버 url을 따라 가도록 수정

Screenshot 📷

image

local에서는 http, aws에서는 https로 server url 설정됨
@min-0 min-0 added the bug Something isn't working label Sep 9, 2024
@min-0 min-0 requested a review from youngreal September 9, 2024 08:34
@min-0 min-0 self-assigned this Sep 9, 2024
@min-0 min-0 linked an issue Sep 9, 2024 that may be closed by this pull request
@min-0 min-0 merged commit 5f1549d into main Sep 9, 2024
1 check passed
@min-0 min-0 deleted the bug/#45 branch September 9, 2024 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Swagger CORS 설정
2 participants