Compare commits

..

No commits in common. "f9dbc54bb228d728def7405f221fd6af666b822f" and "4bce1d825e8f347357ccfe1cc7b9848c648fd253" have entirely different histories.

3 changed files with 4 additions and 2 deletions

View File

@ -61,8 +61,9 @@ const Hero = () => {
var x = ball.style.left; var x = ball.style.left;
var y = ball.style.top; var y = ball.style.top;
var query = "http://localhost:5000/LRegresion" + x + "&" + y var query = "http://localhost:5000/LRegresion" + x + "&" + y
fetch(query).then( fetch(query).then(
res => res.json
).then(
data => { data => {
setData(data) setData(data)
console.log(data) console.log(data)

View File

@ -11,6 +11,7 @@ CORS(app)
def members(): def members():
return{"members":["Member1","Member2","Member3"]} return{"members":["Member1","Member2","Member3"]}
# zapytanie o regresje logistyczną na podstawie pozycji piłki # zapytanie o regresje logistyczną na podstawie pozycji piłki
@app.route("/LRegresion<x>&<y>") @app.route("/LRegresion<x>&<y>")