[PR #2738] [CLOSED] Update routes.go #36836

Closed
opened 2026-04-22 21:28:05 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/2738
Author: @ohko
Created: 2/25/2024
Status: Closed

Base: mainHead: main


📝 Commits (1)

📊 Changes

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

View changed files

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

📄 Description

CORS policy: Request header field x-requested-with is not allowed by Access-Control-Allow-Headers in preflight response.

add X-Requested-With in Access-Control-Allow-Headers


🔄 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/2738 **Author:** [@ohko](https://github.com/ohko) **Created:** 2/25/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`bb8ba00`](https://github.com/ollama/ollama/commit/bb8ba009f380109999a3d54c00b4823f1e657b8b) Update routes.go ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `server/routes.go` (+1 -0) </details> ### 📄 Description CORS policy: Request header field x-requested-with is not allowed by Access-Control-Allow-Headers in preflight response. add X-Requested-With in Access-Control-Allow-Headers --- <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-22 21:28:05 -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#36836