mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-19 00:14:40 +00:00
Update ctx-axios.ts
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
|
|
||||||
const api = axios.create({
|
const api = axios.create({
|
||||||
baseURL: 'http://127.0.0.1:5670'
|
baseURL: process.env.API_BASE_URL
|
||||||
});
|
});
|
||||||
|
|
||||||
api.defaults.timeout = 10000;
|
api.defaults.timeout = 10000;
|
||||||
|
Reference in New Issue
Block a user