modified: main_dc/yalarba/easySite/easySite/app/pages/auth/register.vue
add to path for reqeust register /api/ ))))
This commit is contained in:
@@ -98,7 +98,7 @@ const handleSubmit = async () => {
|
|||||||
const full_name = `${form.value.first_name.trim()} ${form.value.last_name.trim()}`
|
const full_name = `${form.value.first_name.trim()} ${form.value.last_name.trim()}`
|
||||||
|
|
||||||
// Отправка данных на бэкенд
|
// Отправка данных на бэкенд
|
||||||
const response = await $fetch(`https://easysite102.ru/auth/register`, {
|
const response = await $fetch(`https://easysite102.ru/api/auth/register`, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
body: {
|
body: {
|
||||||
email: form.value.email,
|
email: form.value.email,
|
||||||
|
|||||||
Reference in New Issue
Block a user