[REFACTOR] user ban 을 x-forwarded-for 에서 userAgent 로 변경 #268
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🚀 Issue Number
주요 작업
user ban 을 x-forwarded-for 에서 userAgent 로 변경
고민과 해결 과정
x-forwarded-for 로 할 경우, 같은 공유기 내부에서 전부 다 차단 당하는 경우가 있습니다.
따라서 x-forwarded-for 보다 조금 더 세밀하게 볼 수 있는 userAgent 로 변경했습니다.
userAgent 도 쉽게 조작할 수 있으나 x-forwarded-for 보다는 사용자 경험을 증진시킬 수 있습니다.
📸 Screenshots
🔜 추가 내용 (선택)