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

8 lines
153 B
TypeScript
Raw Normal View History

2022-02-10 18:37:16 +08:00
import { APIClient } from '@nocobase/client';
const apiClient = new APIClient({
2022-02-13 11:23:40 +08:00
baseURL: `http://localhost:3000/api/`,
2022-02-10 18:37:16 +08:00
});
export default apiClient;