tachybase_todo/packages/app/src/pages/apiClient.ts

8 lines
149 B
TypeScript
Raw Normal View History

2022-02-10 18:37:16 +08:00
import { APIClient } from '@nocobase/client';
const apiClient = new APIClient({
2022-03-06 17:29:20 +08:00
baseURL: process.env.API_BASE_URL,
2022-02-10 18:37:16 +08:00
});
export default apiClient;