ollama
ollama copied to clipboard
feature: support `~/.ollama/origins` as config for CORS
This PR is an alternative solution to #433, allowing persistent configuration to allow CORS access.
#1357 adds a GUI popup to handle the allow process. Instead, this PR adds a new line-delimited config file at ~/.ollama/origins
that is read at start and otherwise works just like the OLLAMA_ORIGINS=...
env var.