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
|
|
|
});
|
|
|
|
|
2022-02-23 18:20:45 +08:00
|
|
|
apiClient.setBearerToken();
|
|
|
|
|
2022-02-13 11:23:40 +08:00
|
|
|
// mock(apiClient);
|
2022-02-10 18:37:16 +08:00
|
|
|
|
|
|
|
export default apiClient;
|