time to commit to using the proper accept type
This commit is contained in:
parent
829c0af097
commit
448ae46efe
|
@ -150,7 +150,7 @@ func GetJunkTimeout(userid int64, url string, timeout time.Duration) (junk.Junk,
|
||||||
sign = nil
|
sign = nil
|
||||||
}
|
}
|
||||||
fn := func() (interface{}, error) {
|
fn := func() (interface{}, error) {
|
||||||
at := thefakename
|
at := theonetruename
|
||||||
if strings.Contains(url, ".well-known/webfinger?resource") {
|
if strings.Contains(url, ".well-known/webfinger?resource") {
|
||||||
at = "application/jrd+json"
|
at = "application/jrd+json"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue