Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 5cb8e7a

Browse files
committed
api: Remove the "/" from the URL
1 parent 9b89d43 commit 5cb8e7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cortex-js/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ async function bootstrap() {
3333
.addTag('Models', 'These endpoints provide a list and descriptions of all available models within the Cortex framework.')
3434
.addTag('Messages', "These endpoints manage the retrieval and storage of conversation content, including responses from LLMs and other metadata related to chat interactions.")
3535
.addTag('Threads', 'These endpoints handle the creation, retrieval, updating, and deletion of conversation threads.')
36-
.addServer('http://localhost:1337/')
36+
.addServer('http://localhost:1337')
3737
.addServer('http://localhost:1337/v1')
3838
.build();
3939
const document = SwaggerModule.createDocument(app, config);

0 commit comments

Comments
 (0)