You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
381 B
JavaScript
19 lines
381 B
JavaScript
import axios from 'axios'
|
|
|
|
const apiClient = axios.create({
|
|
baseURL: 'http://backend.runcible.io',
|
|
withCredentials: false,
|
|
headers: {
|
|
Accept: 'application/json',
|
|
'Content-Type': 'application/json'
|
|
}
|
|
})
|
|
|
|
export default {
|
|
getPing() {
|
|
return apiClient.get('/ping')
|
|
},
|
|
// getEnv() {
|
|
// return apiClient.get('/env')
|
|
// }
|
|
} |