Skip to content

Commit ed4c69f

Browse files
committed
updated readme
1 parent 09867e6 commit ed4c69f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,22 @@ curl http://localhost:11434/api/tags
551551
> - **All Platforms:** Use `OLLAMA_ORIGINS="*"` for testing, then restrict to specific domains
552552
> - **Always verify** your setup with: `curl http://localhost:11434/api/tags`
553553
554+
### 🌐 **Custom Ollama URL (Local Builds Only)**
555+
556+
> **⚠️ Note**: Custom URLs only work in local builds, not hosted version.
557+
558+
**Setup:**
559+
1. **Add URL to CSP**: Edit `/lib/common-meta.js` → add your URL to `connectSrc` array
560+
```javascript
561+
'http://192.168.1.100:11434', // Example: your Ollama server
562+
```
563+
564+
2. **Use in App**: Click "Connect Ollama" → accept agreement → Enter custom URL in popup
565+
- **DeepResearch**: Click "🦙 Connect Ollama"
566+
- **Playground**: Click "Connect AI" → Select Ollama
567+
568+
**Examples**: `http://192.168.1.100:11434`, `http://localhost:9434`, `https://ollama.mydomain.com`
569+
554570
---
555571

556572
## 🏠 **LM Studio Integration**

0 commit comments

Comments
 (0)