From c250204ace8f056f5cf76e994fc4c2c76cf9cdaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miskolczi=20Rich=C3=A1rd?= Date: Mon, 22 Apr 2024 10:37:35 +0200 Subject: [PATCH] fixed API url --- WD7UVN_SzTGUI_2023242.Client.JS/wwwroot/script.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WD7UVN_SzTGUI_2023242.Client.JS/wwwroot/script.js b/WD7UVN_SzTGUI_2023242.Client.JS/wwwroot/script.js index 5de9022..016e6aa 100644 --- a/WD7UVN_SzTGUI_2023242.Client.JS/wwwroot/script.js +++ b/WD7UVN_SzTGUI_2023242.Client.JS/wwwroot/script.js @@ -1,3 +1,3 @@ -fetch('http://localhost:31272/customer') -.then(x => x.json()) -.then(y => console.log(y)) \ No newline at end of file +fetch('https://localhost:5001/api/Customer') + .then(x => x.json()) + .then(y => console.log(y)); \ No newline at end of file