From d6f3316a033b1d586aba502e1ed4815f4080161a Mon Sep 17 00:00:00 2001 From: irfanpena Date: Mon, 5 Aug 2024 10:46:41 +0700 Subject: [PATCH] Update the Base URL for the API reference to reflect the new default host --- cortex-js/src/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cortex-js/src/app.ts b/cortex-js/src/app.ts index c8c81cee4..53afcf8dc 100644 --- a/cortex-js/src/app.ts +++ b/cortex-js/src/app.ts @@ -65,7 +65,7 @@ export const getApp = async () => { 'System', 'Endpoints for stopping the Cortex API server, checking its status, and fetching system events.', ) - .addServer('http://localhost:1337') + .addServer('http://127.0.0.1:1337') .build(); const document = SwaggerModule.createDocument(app, config);