add api with example usage
parent
3c0d84c628
commit
9f14b74575
@ -0,0 +1,7 @@
|
|||||||
|
import Axios from 'axios'
|
||||||
|
|
||||||
|
export function getMap(x, y) {
|
||||||
|
return Axios.get(`http://169.254.61.222:5000/generate/${x}/${y}`).then(
|
||||||
|
data => data.data
|
||||||
|
)
|
||||||
|
}
|
Loading…
Reference in New Issue