Fix: 구글 oauth 페이지로 연결 버튼 수정

This commit is contained in:
홍창기 2024-09-25 22:56:03 +09:00
parent 8bb3f50284
commit ec93d55b3b
No known key found for this signature in database
GPG Key ID: 9FF142041B4A91B9

View File

@ -30,9 +30,8 @@ export default function Home() {
</div>
{!accessToken ? (
<Link
to={`${BASE_URL}/login/oauth2/authorization/google`}
replace
<a
href={`${BASE_URL}/login/oauth2/authorization/google`}
className="mb-4 transition hover:opacity-90 focus:outline-none focus:ring-2 focus:ring-gray-300 active:opacity-80"
>
<img
@ -40,7 +39,7 @@ export default function Home() {
alt="Sign in with Google"
className="h-auto w-full"
/>
</Link> // 404 에러 방지
</a> // 404 에러 방지
) : (
<>
<Button