This commit is contained in:
NotII
2025-03-23 21:59:28 +00:00
parent eb2a88b896
commit 6ab5a9ac43
3 changed files with 10 additions and 8 deletions

View File

@@ -22,7 +22,7 @@ export default function RegisterPage() {
setLoading(true);
const res = await fetchData(
`${process.env.NEXT_PUBLIC_API_URL}/auth/register`,
`/api/auth/register`,
{
method: "POST",
headers: { "Content-Type": "application/json" },