diff --git a/backend/RattmWeb/urls.py b/backend/RattmWeb/urls.py index d8a8e0c..bfbef9c 100644 --- a/backend/RattmWeb/urls.py +++ b/backend/RattmWeb/urls.py @@ -25,4 +25,5 @@ path('admin/', admin.site.urls), path('transaction/', include('transaction.urls')), path('esg/', include('esg.urls')), + path('login/', include('login.urls')), ] \ No newline at end of file diff --git a/frontend/src/app/main-site/auth/SignInWithGoogle/page.tsx b/frontend/src/app/main-site/auth/SignInWithGoogle/page.tsx index 4effef6..b19559b 100644 --- a/frontend/src/app/main-site/auth/SignInWithGoogle/page.tsx +++ b/frontend/src/app/main-site/auth/SignInWithGoogle/page.tsx @@ -11,7 +11,7 @@ function SendEmail(userEmail: string) { const sendEmailToBackend = async (userEmail: string) => { try { - const response = await fetch('http://localhost:8000/login/get_email/', { + const response = await fetch('https://rattm-f300025e7172.herokuapp.com/login/get_email/', { method: 'POST', headers: { 'Content-Type': 'application/json',