From ce957f231da79709b849d0489b902b919c3126b4 Mon Sep 17 00:00:00 2001 From: drdemons Date: Mon, 2 Mar 2020 21:37:06 +0300 Subject: [PATCH] =?UTF-8?q?*=20=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D1=84=D0=B0=D0=B9=D0=BB=20index.html=20=D0=B8=20?= =?UTF-8?q?=D1=84=D0=B0=D0=B9=D0=BB=20=D1=81=D1=82=D0=B8=D0=BB=D0=B5=D0=B9?= =?UTF-8?q?,=20=D0=B4=D0=BB=D1=8F=20=D1=84=D0=BE=D1=80=D0=BC=D1=8B=20?= =?UTF-8?q?=D0=B0=D0=B2=D1=82=D0=BE=D1=80=D0=B8=D0=B7=D0=B0=D1=86=D0=B8?= =?UTF-8?q?=D0=B8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/public/index.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/resources/public/index.html b/src/main/resources/public/index.html index c3830ed..66b3f80 100644 --- a/src/main/resources/public/index.html +++ b/src/main/resources/public/index.html @@ -51,11 +51,10 @@ body: JSON.stringify(data), headers: { 'Content-Type': 'application/json', - 'Access-Control-Allow-Origin': '*' } + } }); const json = await response.json(); console.log('Успех:', JSON.stringify(json)); - this.responseMessage = json } catch (error) { console.error('Ошибка:', error); }