ollama icon indicating copy to clipboard operation
ollama copied to clipboard

feature: support `~/.ollama/origins` as config for CORS

Open ryansb opened this issue 1 year ago • 0 comments

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.

ryansb avatar Jan 07 '24 23:01 ryansb