Files
pterodactyl-panel/resources/scripts/api/hey-api-runtime.ts
T
6c0413e39b Start 2.0 development
Co-authored-by: Anthony <anthony@infraly.co>
Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
2026-10-05 18:10:18 -04:00

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,
});