small work on app/model integration
This commit is contained in:
parent
8d01ed128d
commit
56296ac3bf
@ -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": {
|
||||||
|
@ -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 => {
|
||||||
|
Loading…
Reference in New Issue
Block a user