fix api ip

This commit is contained in:
Austin 2021-10-26 03:16:32 +08:00
parent 58fdfdf171
commit f1fd5d0f17

View File

@ -1,7 +1,7 @@
import axios from "axios";
let baseURL = process.env.NODE_ENV === "development" ? "http://localhost:8080" : ""
baseURL = "http://localhost:8080"
baseURL = "http://66.228.52.222:8080"
export function ping(cb) {
return axios.get(baseURL + '/api/ping').then(response => {
cb(response.data)