We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c507d0 commit bcacd92Copy full SHA for bcacd92
src/widgets/main/ui/LoginModal.tsx
@@ -10,11 +10,11 @@ interface LoginModalProps {
10
11
const LoginModal = ({ onClose }: LoginModalProps) => {
12
const kakaoLogin = () => {
13
- window.location.href = 'http://ec2-3-35-48-123.ap-northeast-2.compute.amazonaws.com:8080/oauth2/authorization/kakao';
+ window.location.href = `${import.meta.env.VITE_API_BASE_URL}/oauth2/authorization/kakao`;
14
};
15
const gooleLogin = () => {
16
- window.location.href = 'http://ec2-3-35-48-123.ap-northeast-2.compute.amazonaws.com:8080/oauth2/authorization/google';
17
- }
+ window.location.href = `${import.meta.env.VITE_API_BASE_URL}/oauth2/authorization/google`;
+ };
18
return (
19
<motion.div
20
initial={{ y: '-100vh', opacity: 0 }}
0 commit comments