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

bug: cors rest api #1450

@simboonlong

Description

@simboonlong

Cortex version

1.0.0

Describe the Bug

local web application while trying to fetch REST API at http://localhost:39281/v1/chat/completions resulted in CORS Access-Control-Allow-Origin error. Same issue at documentation page chat completion​ demo here:

cors

Steps to Reproduce

No response

Screenshots / Logs

No response

What is your OS?

  • MacOS
  • Windows
  • Linux

What engine are you running?

  • cortex.llamacpp (default)
  • cortex.tensorrt-llm (Nvidia GPUs)
  • cortex.onnx (NPUs, DirectML)

Metadata

Metadata

Assignees

Labels

needs infoNeeds more logs, steps to help reproducetype: bugSomething isn't workingtype: docsImprovements or additions to documentation

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions