fix: need to use Get, head isn't always supported

This commit is contained in:
Derrick Hammer 2024-02-27 04:26:55 -05:00
parent 218c0a1b1a
commit 9b6a253313
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -837,7 +837,7 @@ func (s *S5API) accountPin(jc jape.Context) {
return return
} }
r := rq.Head(next.Location().BytesURL()) r := rq.Get(next.Location().BytesURL())
httpReq, err := r.ParseRequest() httpReq, err := r.ParseRequest()
if err != nil { if err != nil {