mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-11 17:50:58 +00:00
functional save and restore through proxy
This commit is contained in:
parent
95e754c06b
commit
e3adb49c50
2 changed files with 4 additions and 1 deletions
|
@ -151,8 +151,10 @@ func (h *Handler) newReverseProxy(targetHost string) (*httputil.ReverseProxy, er
|
|||
|
||||
r.Out.Header.Add("Forgejo-Cache-Repo", runData.RepositoryFullName)
|
||||
r.Out.Header.Add("Forgejo-Cache-RunNumber", runData.RunNumber)
|
||||
r.Out.Header.Add("Forgejo-Cache-RunId", id)
|
||||
r.Out.Header.Add("Forgejo-Cache-Timestamp", runData.Timestamp)
|
||||
r.Out.Header.Add("Forgejo-Cache-MAC", runData.RepositoryMAC)
|
||||
r.Out.Header.Add("Forgejo-Cache-Host", h.ExternalURL())
|
||||
},
|
||||
}
|
||||
return proxy, nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue