nocobase/packages/app/src/pages/apiClient.ts
2022-03-06 17:29:20 +08:00

8 lines
149 B
TypeScript

import { APIClient } from '@nocobase/client';
const apiClient = new APIClient({
baseURL: process.env.API_BASE_URL,
});
export default apiClient;