이런식으로 로그아웃이 안되는 현상이 발생했는데요.
이전:
개인 개발환경:
/logout post-> /logout post 잘됨
aws 운영환경:
/logout post-> /logout post 안됨 mix contents 발생
이번에 문제가 되는부분이 로그아웃 개발할때 /logout 이런식으로 했습니다.
실제 운영서버에서는 mixcontents오류가발생하더군요.
그래서 현재main/logout으로 경로를 axios post를 보내고 spring에서도 main/logout post 해주니까 잘되었습니다.
p.s 아직 정확한 원인을 몰라서 아마 aws에서 로드벨런싱 하는부분에 규칙이 잇는듯한데 아직 잘모르겠습니다. 공부해서 알게되면 다시 재작성 하겠습니다.
변경 이후:
개인 개발환경:
/Main/logout post-> /Main/logout post 잘됨
aws 운영환경:
/Main/logout post-> /Main/logout post 잘됨
'웹 > Spring vue 웹 개발' 카테고리의 다른 글
spring vue 장바구니 03 (0) | 2023.06.08 |
---|---|
spring vue 게시판 수정 오류, 문자열 사이즈 문제 해결 (0) | 2023.06.07 |
spring vue 실제 웹 배포 완료 aws 이용 (0) | 2023.06.04 |
spring vue 웹 배포 aws ssl 등록 완료 (0) | 2023.06.02 |
spring vue 웹 배포 및 로컬서버 실행 완료 (0) | 2023.05.29 |