Merge branch 'FE/Logout' into 'frontend'

[Front-End] fix: logout 요청 메서드 get -> post

See merge request s11-webmobile1-sub2/S11P12A701!23
This commit is contained in:
조현수 2024-08-02 13:42:30 +09:00
commit a974de241b

View File

@ -46,7 +46,7 @@ export function useAuth() {
const logout = () => { const logout = () => {
return instance return instance
.get(`${API_URL}/user/logout`) .post(`${API_URL}/user/logout`)
.then((response) => { .then((response) => {
console.log(response); console.log(response);
setUserType(null); setUserType(null);