[PR #2760] [CLOSED] feat: support custom cors allow headers #10969

Closed
opened 2026-04-12 23:17:18 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/2760
Author: @fred-bf
Created: 2/26/2024
Status: Closed

Base: mainHead: patch-1


📝 Commits (1)

  • f5356a8 feat: support custom cors allow headers

📊 Changes

1 file changed (+7 additions, -1 deletions)

View changed files

📝 server/routes.go (+7 -1)

📄 Description

Allow configure cors allow headers via OLLAMA_ALLOW_HEADERS env


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/2760 **Author:** [@fred-bf](https://github.com/fred-bf) **Created:** 2/26/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`f5356a8`](https://github.com/ollama/ollama/commit/f5356a8f6eb39f907d0ef6bafa489b0e5c7fdb0c) feat: support custom cors allow headers ### 📊 Changes **1 file changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `server/routes.go` (+7 -1) </details> ### 📄 Description Allow configure cors allow headers via `OLLAMA_ALLOW_HEADERS` env --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-12 23:17:18 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#10969