mirror of
https://github.com/pterodactyl/panel.git
synced 2026-11-30 11:25:52 -05:00
Co-authored-by: Anthony <anthony@infraly.co> Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
10 lines
240 B
TypeScript
10 lines
240 B
TypeScript
import type { CreateClientConfig } from './generated/client.gen';
|
|
import http from './http';
|
|
|
|
export const createClientConfig: CreateClientConfig = (config) => ({
|
|
...config,
|
|
axios: http,
|
|
baseURL: '',
|
|
throwOnError: true,
|
|
});
|