fixed link api test

This commit is contained in:
huyt 2022-01-12 23:11:11 +07:00
parent b52defc64f
commit 872f4481d5

View File

@ -20,7 +20,7 @@ export default function Test() {
const test = () => { const test = () => {
setLoading(true) setLoading(true)
try { try {
let result = axios.get(`${HOST}/api/test_accuracy`) let result = axios.get(`http://api.face-classify.beetai.com/api/test_accuracy`)
.then(response => { .then(response => {
console.log(response) console.log(response)
setText(response.data.data) setText(response.data.data)