From 2008e12b6f8d82a4bf5e667e308bca175adaa4ad Mon Sep 17 00:00:00 2001 From: furyhawk Date: Fri, 31 Jan 2025 16:28:26 +0800 Subject: [PATCH] fix: comment out CORS_ALLOW_ORIGIN in open_webui service configuration --- swarm/openwebui.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarm/openwebui.yml b/swarm/openwebui.yml index 3ca3201..f4958d8 100644 --- a/swarm/openwebui.yml +++ b/swarm/openwebui.yml @@ -26,7 +26,7 @@ services: - PORT=${OPEN_WEBUI_PORT:-8080} - WEBUI_URL=http://localhost:${OPEN_WEBUI_PORT:-8080} - ENABLE_OLLAMA_API=${ENABLE_OLLAMA_API:-true} - - CORS_ALLOW_ORIGIN="*" + # - CORS_ALLOW_ORIGIN="*" - OLLAMA_BASE_URLS=http://ollama:11434 - RAG_EMBEDDING_ENGINE=ollama - RAG_EMBEDDING_MODEL=nomic-embed-text-v1.5