mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 01:22:24 -05:00
return after redirects to web representation (#755)
This commit is contained in:
parent
ac6ed3d939
commit
586ebb5059
7 changed files with 7 additions and 0 deletions
|
|
@ -113,6 +113,7 @@ func (m *Module) StatusRepliesGETHandler(c *gin.Context) {
|
|||
if format == string(api.TextHTML) {
|
||||
// redirect to the status
|
||||
c.Redirect(http.StatusSeeOther, "/@"+requestedUsername+"/statuses/"+requestedStatusID)
|
||||
return
|
||||
}
|
||||
|
||||
var page bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue