Skip to content

Commit

Permalink
feat. OAuth 로그인 요청 URL에 /api 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
soyesenna committed Jun 4, 2024
1 parent 9f37b6b commit efbb0ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FE/src/components/github_button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useEffect } from 'react';

const GithubButton = () => {
const handleLogin = () => {
window.location.href = 'https://squadbnb.site/oauth2/authorization/github';
window.location.href = 'https://squadbnb.site/api/oauth2/authorization/github';
};


Expand Down
2 changes: 1 addition & 1 deletion FE/src/components/google_button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useEffect } from 'react';

const GoogleButton = () => {
const handleLogin = () => {
window.location.href = 'https://squadbnb.site/oauth2/authorization/google';
window.location.href = 'https://squadbnb.site/api/oauth2/authorization/google';
};

return (
Expand Down

0 comments on commit efbb0ff

Please sign in to comment.