Fix backend url conf
This commit is contained in:
1 parent
6723d42a5f
commit
1c10240b8d
19 files changed
+20
-20
No files matched your search
@@ -4,7 +4,7 @@ export default async function register(email, password, name, lastname, phone) {
|
||||
const csrfToken = await getXSRFToken();
|
||||
|
||||
try {
|
||||
const response = await fetch(`http://${import.meta.env.VITE_API_URL}/api/users/register`, {
|
||||
const response = await fetch(`${import.meta.env.VITE_API_URL}/api/users/register`, {
|
||||
method: 'POST',
|
||||
credentials: 'include',
|
||||
headers: {
|
||||
|
||||
Reference in new issue
Block a user