Skip to content

Commit

Permalink
feat: 로그인 API 주소 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
kanghaeun committed Jul 19, 2024
1 parent aaa5e19 commit 2b7e034
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
File renamed without changes.
4 changes: 3 additions & 1 deletion FE/error/src/pages/LoginPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ const LoginPage = () => {
const handleSlackAuth = async (authCode) => {
setIsLoading(true);
try {
const response = await axios.post("/slack/auth", { code: authCode });
const response = await axios.post("/api/auth/login/slack", {
code: authCode,
});

if (response.data.success) {
localStorage.setItem("slackToken", response.data.token);
Expand Down

0 comments on commit 2b7e034

Please sign in to comment.