* Sets the base path to be prefixed for all API routes. * Useful for mounting the API under a specific subpath like `/v1`. * @param {string} path - The base path to prefix (e.g., "/v1") * @example * ApiConfig.setApiBasePath("/v1"); // All routes will now be prefixed with /v1
(path: string)
| 927 | * ApiConfig.setApiBasePath("/v1"); // All routes will now be prefixed with /v1 |
| 928 | */ |
| 929 | static setApiBasePath(path: string): void { |
| 930 | this.apiBasePath = cleanBasePath(path) as any; |
| 931 | } |
| 932 | |
| 933 | /** |
| 934 | * Adds an alias for a specific scraper's direct call route bypassing Task System. |
nothing calls this directly
no test coverage detected