signoz/frontend/src/api/tracesAPI.js

13 lines
345 B
JavaScript
Raw Normal View History

2021-01-03 18:15:44 +05:30
import axios from 'axios';
//import { format } from 'path';
export default axios.create({
2021-01-10 12:09:30 +05:30
// baseURL: 'http://104.211.113.204:8080/api/v1/' //comment this line and remove this comment before pushing
2021-01-03 18:15:44 +05:30
// baseURL: process.env.QUERY_SERVICE_URL,
// console.log('in traces API', process.env.QUERY_SERVICE_URL)
2021-01-07 23:58:19 +05:30
baseURL: '/api/v1/',
2021-01-03 18:15:44 +05:30
2021-01-07 22:01:57 +05:30
2021-01-03 18:15:44 +05:30
});