mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-17 23:00:02 +02:00
Fix lfs migration (#32812)
Fix: #32803 (cherry picked from commit 0b8a8941a01ed4bf914843c88740ad6203550b85)
This commit is contained in:
parent
7ceb30c000
commit
4be37a986e
2 changed files with 3 additions and 1 deletions
|
@ -15,7 +15,8 @@ const (
|
|||
// MediaType contains the media type for LFS server requests
|
||||
MediaType = "application/vnd.git-lfs+json"
|
||||
// Some LFS servers offer content with other types, so fallback to '*/*' if application/vnd.git-lfs+json cannot be served
|
||||
AcceptHeader = "application/vnd.git-lfs+json;q=0.9, */*;q=0.8"
|
||||
AcceptHeader = "application/vnd.git-lfs+json;q=0.9, */*;q=0.8"
|
||||
UserAgentHeader = "git-lfs"
|
||||
)
|
||||
|
||||
// BatchRequest contains multiple requests processed in one batch operation.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue