Skip to content

Commit

Permalink
Merge pull request #795 from janhq/fix/api-component-v1
Browse files Browse the repository at this point in the history
fix: api path - add v1 component
  • Loading branch information
namchuai authored Jun 28, 2024
2 parents f6e667f + 73e8108 commit f4630ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cortex-js/src/infrastructure/constants/cortex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit f4630ea

Please sign in to comment.