Skip to content

Commit

Permalink
feat: 로그인 시 post요청주소 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kanghaeun committed Jul 20, 2024
1 parent 0960959 commit b8bd0d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FE/error/src/pages/LoginPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ const LoginPage = () => {
setIsLoading(true);
try {
const response = await axios.post(
`/api/auth/login/slack?code=${authCode}&redirect_uri=https://econo-calendar.com`
`/api/auth/login/slack?type=slack&code=${authCode}&redirect_uri=https://econo-calendar.com/login`
);
//https://error.econo-calendar.com:8080/api/auth/login/slack?code=437291124342.7450366183669.707a922032302fb4173d10c87e3c7e31400240615b5b7a49bf6bb0bc210069c5&redirect_uri=https://econo-calendar.com
//https://error.econo-calendar.com:8080/api/auth/login/slack?type=slack&code=437291124342.7450149308964.72d587a945484ba89cfb71b85a8988c1a0e2dc5e2a0bbf5ff00d4eef8e8b0a89&redirect_uri=https://econo-calendar.com/login
if (response.data.success) {
localStorage.setItem("slackToken", response.data.token);
} else {
Expand Down

0 comments on commit b8bd0d9

Please sign in to comment.