mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-22 14:22:33 +03:00
feat: add thread refresh after posting
This commit is contained in:
parent
fb29be59ae
commit
d331c8700d
@ -331,5 +331,5 @@ func UpdateThread(c *gin.Context) {
|
||||
|
||||
tx.Commit(context.TODO())
|
||||
|
||||
c.Redirect(http.StatusFound, "/"+strconv.Itoa(threadID))
|
||||
c.Header("Refresh", "0")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user