diff --git a/backend/main.py b/backend/main.py index 5a7d8e7..e4e9466 100644 --- a/backend/main.py +++ b/backend/main.py @@ -32,7 +32,11 @@ # configure CORS app.add_middleware( CORSMiddleware, - allow_origins=["http://localhost:5173"], # your frontend URL + allow_origins=[ + "http://localhost:5173", # development + "http://195.242.13.94", # production + "https://195.242.13.94", # https just in case lol + ], allow_credentials=True, allow_methods=["*"], allow_headers=["*"], diff --git a/frontend/src/components/LoginPage.jsx b/frontend/src/components/LoginPage.jsx index 4d3b9ca..bafa5c3 100644 --- a/frontend/src/components/LoginPage.jsx +++ b/frontend/src/components/LoginPage.jsx @@ -66,13 +66,14 @@ export default function LoginPage() { {isLogin ? 'Sign in to your account' : 'Create an account'} -