[PR #3018] [MERGED] Add allowed host middleware and remove workDir middleware #11034

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/3018
Author: @jmorganca
Created: 3/9/2024
Status: Merged
Merged: 3/9/2024
Merged by: @jmorganca

Base: mainHead: jmorganca/middleware


📝 Commits (1)

  • 46e9d06 add host middleware and remove workDir middleware

📊 Changes

2 files changed (+61 additions, -26 deletions)

View changed files

📝 server/routes.go (+60 -17)
📝 server/routes_test.go (+1 -9)

📄 Description

No description provided


🔄 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/3018 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 3/9/2024 **Status:** ✅ Merged **Merged:** 3/9/2024 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `jmorganca/middleware` --- ### 📝 Commits (1) - [`46e9d06`](https://github.com/ollama/ollama/commit/46e9d065fec1cfef1e487b5a1cd144b7ce9dd0ec) add host middleware and remove `workDir` middleware ### 📊 Changes **2 files changed** (+61 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `server/routes.go` (+60 -17) 📝 `server/routes_test.go` (+1 -9) </details> ### 📄 Description _No description provided_ --- <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:19: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#11034