sdf
This commit is contained in:
@@ -13,7 +13,7 @@ function Login({ setIsLoggedIn }) {
|
||||
const handleLogin = async (e) => {
|
||||
e.preventDefault();
|
||||
try {
|
||||
const res = await axios.post('http://localhost:5000/login', { username, password });
|
||||
const res = await axios.post('https://congenial-waddle-9w9749vg9q9cr49-5000.app.github.dev/login', { username, password });
|
||||
setMessage(res.data.message);
|
||||
if (res.data.success) {
|
||||
setIsLoggedIn(true);
|
||||
|
||||
Reference in New Issue
Block a user