Files
pterodactyl-panel/resources/scripts/api/hey-api-runtime.ts
T

10 lines
240 B
TypeScript
Raw Normal View History

2026-10-05 18:10:18 -04:00
import type { CreateClientConfig } from './generated/client.gen';
import http from './http';
export const createClientConfig: CreateClientConfig = (config) => ({
...config,
axios: http,
baseURL: '',
throwOnError: true,
});