6 lines
168 B
TypeScript
6 lines
168 B
TypeScript
import { OpenAPI } from './open/client';
|
|
|
|
export function initOpenapiSDK(baseUrl: string) {
|
|
OpenAPI.BASE = baseUrl.endsWith('/open') ? baseUrl : `${baseUrl}/open`;
|
|
}
|