From 73e810846fcb225f2c7c7252cd07480f158c72c7 Mon Sep 17 00:00:00 2001 From: Louis Date: Fri, 28 Jun 2024 16:02:24 +0700 Subject: [PATCH] fix: api path - add v1 component --- cortex-js/src/infrastructure/constants/cortex.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cortex-js/src/infrastructure/constants/cortex.ts b/cortex-js/src/infrastructure/constants/cortex.ts index 45eeb96cb..28ce267f5 100644 --- a/cortex-js/src/infrastructure/constants/cortex.ts +++ b/cortex-js/src/infrastructure/constants/cortex.ts @@ -31,12 +31,12 @@ export const CORTEX_CPP_MODELS_URL = ( export const CORTEX_JS_HEALTH_URL = ( host: string = defaultCortexJsHost, port: number = defaultCortexJsPort, -) => `http://${host}:${port}/health`; +) => `http://${host}:${port}/v1/health`; export const CORTEX_JS_STOP_API_SERVER_URL = ( host: string = defaultCortexJsHost, port: number = defaultCortexJsPort, -) => `http://${host}:${port}/process`; +) => `http://${host}:${port}/v1/process`; // INITIALIZATION export const CORTEX_RELEASES_URL =