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

config : 스웨거 CORS 에러 관련 설정추가 #259

Merged
merged 2 commits into from
Nov 17, 2024
Merged

Conversation

kkmin223
Copy link
Collaborator

  • https로 서버를 배포했을 때, 스웨거 사용 시 CORS 가 발생하는 원인이 http -> https로 요청하는것이라고 하여 수정했습니다.
image image - 참고 자료 : https://github.com/springdoc/springdoc-openapi/issues/726

Copy link
Collaborator

@Lechros Lechros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

스웨거 서버 정의를 Application에서 SwaggerConfig로 이동하는 것이 좋을 것 같아요~

@kkmin223
Copy link
Collaborator Author

스웨거 서버 정의를 Application에서 SwaggerConfig로 이동하는 것이 좋을 것 같아요~

넵넵 SwaggerConfig로 이동했습니다!

@kkmin223 kkmin223 requested a review from Lechros November 17, 2024 05:35
Copy link
Collaborator

@Lechros Lechros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

좋아요!

@kkmin223 kkmin223 merged commit c7a0ee0 into develop Nov 17, 2024
1 check passed
@kkmin223 kkmin223 deleted the config/swagger branch November 17, 2024 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants