Compare commits
2 Commits
4bce1d825e
...
f9dbc54bb2
Author | SHA1 | Date | |
---|---|---|---|
f9dbc54bb2 | |||
d6953952df |
@ -61,11 +61,10 @@ const Hero = () => {
|
||||
var x = ball.style.left;
|
||||
var y = ball.style.top;
|
||||
var query = "http://localhost:5000/LRegresion" + x + "&" + y
|
||||
|
||||
fetch(query).then(
|
||||
res => res.json
|
||||
).then(
|
||||
data => {
|
||||
setData(data)
|
||||
setData(data)
|
||||
console.log(data)
|
||||
}
|
||||
)
|
||||
|
Binary file not shown.
@ -11,7 +11,6 @@ CORS(app)
|
||||
def members():
|
||||
return{"members":["Member1","Member2","Member3"]}
|
||||
|
||||
|
||||
# zapytanie o regresje logistyczną na podstawie pozycji piłki
|
||||
|
||||
@app.route("/LRegresion<x>&<y>")
|
||||
|
Loading…
Reference in New Issue
Block a user