Closed praveenprem closed 1 month ago
To support CORS you will need to run the following command from terminal and direct BMO to the alternate port. this will permit CORS and streaming. Use whatever port you like that is not 11434
OLLAMA_ORIGINS=* OLLAMA_HOST=127.0.0.1:11435 ollama serve
To support CORS you will need to run the following command from terminal and direct BMO to the alternate port. this will permit CORS and streaming. Use whatever port you like that is not 11434
OLLAMA_ORIGINS=* OLLAMA_HOST=127.0.0.1:11435 ollama serve
Thanks @twalderman that worked, I didn't realise setting origin can be done like that
Obsidian plugin is unable to make REST API calls to the Ollama API due to CORS rules.