Update ctx-axios.ts

This commit is contained in:
云锋
2024-09-04 18:21:33 +08:00
committed by GitHub
parent 59b0e687ba
commit 75788f1727

View File

@@ -1,7 +1,7 @@
import axios from 'axios';
const api = axios.create({
baseURL: 'http://127.0.0.1:5670'
baseURL: process.env.API_BASE_URL
});
api.defaults.timeout = 10000;