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

fix: cors allow config #74

Merged
merged 2 commits into from
Aug 6, 2024
Merged

fix: cors allow config #74

merged 2 commits into from
Aug 6, 2024

Conversation

toychip
Copy link
Member

@toychip toychip commented Aug 4, 2024

  • ๐Ÿ”€ PR ์ œ๋ชฉ์˜ ํ˜•์‹์„ ์ž˜ ์ž‘์„ฑํ–ˆ๋‚˜์š”? e.g. [add] pr template
  • ๐Ÿงน ๋ถˆํ•„์š”ํ•œ ์ฝ”๋“œ๋Š” ์ œ๊ฑฐํ–ˆ๋‚˜์š”?

์ž‘์—… ๋‚ด์šฉ

  1. CORS Filter, UrlBasedCorsConfigurationSource๋ฅผ ๋„์ž…ํ•˜์—ฌ CORS๋ฅผ ์ œ์–ดํ•ฉ๋‹ˆ๋‹ค.
  2. HTTP OPTIOANS ๋ฉ”์„œ๋“œ ์ถ”๊ฐ€ํ–ˆ์Šต๋‹ˆ๋‹ค.
  3. AllowHeader์—๋Š” Content-Type, Authorization, X-Requested-With๋ฅผ ์ถ”๊ฐ€ํ–ˆ์Šต๋‹ˆ๋‹ค.
  4. ์ œ๊ณต๋œ ๋„๋ฉ”์ธ์˜ ๋’ท ์ฃผ์†Œ๋Š” ๋ชจ๋‘ ํ—ˆ์šฉํ•ฉ๋‹ˆ๋‹ค.

๋น„๊ณ  (์ฒจ๋ถ€์ž๋ฃŒ)

@toychip toychip self-assigned this Aug 4, 2024
@toychip toychip merged commit 6796048 into master Aug 6, 2024
1 check passed
@toychip toychip deleted the junhyoung/fix-cors-webconfig branch August 6, 2024 01:17
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