mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-23 13:54:04 +08:00
🐛 fix proxy not set status
This commit is contained in:
parent
96be6bbbd1
commit
65a01251e9
@ -115,6 +115,7 @@ func Proxy(c *gin.Context) {
|
||||
common.ErrorResp(c, err, 500)
|
||||
return
|
||||
}
|
||||
w.WriteHeader(res.StatusCode)
|
||||
for h, v := range res.Header {
|
||||
w.Header()[h] = v
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user