Refactoring

This commit is contained in:
2025-02-20 12:50:08 +01:00
parent 9e037a9c25
commit 47caa3a8a2
16 changed files with 4 additions and 524 deletions

View File

@@ -21,7 +21,7 @@ export default function AccountPage() {
const handleLogin = async (e: React.FormEvent) => {
e.preventDefault()
try {
const response = await fetch("http://localhost:8080/api/login", {
const response = await fetch("http://localhost:8081/api/login", {
method: "POST",
headers: {
"Content-Type": "application/json",
@@ -50,7 +50,7 @@ export default function AccountPage() {
return;
}
try {
const response = await fetch("http://localhost:8080/api/register", {
const response = await fetch("http://localhost:8081/api/register", {
method: "POST",
headers: {
"Content-Type": "application/json",