LCOV - code coverage report
Current view: top level - src/platform/remote/ingest - ingestApiUrl.ts Coverage Total Hit
Test: ComfyUI E2E Coverage Lines: 100.0 % 2 2
Test Date: 2026-11-17 04:17:53

            Line data    Source code
       1              : import { getComfyCloudBaseUrl } from '@/config/comfyApi'
       2              : import { isCloud } from '@/platform/distribution/types'
       3              : import { api } from '@/scripts/api'
       4              : 
       5         2493 : export function ingestApiUrl(route: string): string {
       6         2493 :   return isCloud ? api.apiURL(route) : `${getComfyCloudBaseUrl()}/api${route}`
       7              : }
        

Generated by: LCOV version 2.0-1