small work on app/model integration

This commit is contained in:
LukaszChrostowski 2023-12-28 10:15:25 +01:00
parent 8d01ed128d
commit 56296ac3bf
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "react_bs_web", "name": "react_bs_web",
"private": true, "private": true,
"proxy": "http://localhost:5000", "proxy": "http://localhost:5173",
"version": "0.0.0", "version": "0.0.0",
"type": "module", "type": "module",
"scripts": { "scripts": {

View File

@ -135,7 +135,7 @@ const Hero = () => {
function sentQuestion() { function sentQuestion() {
var ball = document.querySelector('.football'); var ball = document.querySelector('.football');
if (ball) { if (ball) {
fetch("http://localhost:5000/LRegresion" + shooterX + "&" + shooterY).then( fetch("http://localhost:5173/LRegresion" + shooterX + "&" + shooterY).then(
res=> res.json() res=> res.json()
).then( ).then(
data => { data => {