mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
return after redirects to web representation (#755)
This commit is contained in:
@@ -56,6 +56,7 @@ func (m *Module) StatusGETHandler(c *gin.Context) {
|
||||
if format == string(api.TextHTML) {
|
||||
// redirect to the status
|
||||
c.Redirect(http.StatusSeeOther, "/@"+requestedUsername+"/statuses/"+requestedStatusID)
|
||||
return
|
||||
}
|
||||
|
||||
resp, errWithCode := m.processor.GetFediStatus(transferContext(c), requestedUsername, requestedStatusID, c.Request.URL)
|
||||
|
Reference in New Issue
Block a user