Skip to content

Commit

Permalink
fix: 동등비교 연산자 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kimsj-git committed Mar 28, 2024
1 parent ce204c3 commit e332b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/login/AuthPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const AuthPage = () => {
const [searchParams] = useSearchParams();
const code = searchParams.get("code");

const isLocal = window.location.pathname.split("/").pop() == "local";
const isLocal = window.location.pathname.split("/").pop() === "local";
if (isLocal) {
window.location.href = `http://localhost:5173/auth/github/callback?code=${code}`;
return;
Expand Down

0 comments on commit e332b29

Please sign in to comment.