diff --git a/apis/user.ts b/apis/user.ts index e31f7b0..f6f98ae 100644 --- a/apis/user.ts +++ b/apis/user.ts @@ -9,7 +9,7 @@ export const registerUser = async ( ): Promise> => { const { name, email, password } = data; try { - const response = await fetch(`${process.env.NEXT_PUBLIC_API_URL}/auth/register`, { + const response = await fetch(`${process.env.NEXT_PUBLIC_API_URL}/api/v1/auth/register`, { method: 'POST', headers: { 'Content-Type': 'application/json',