mirror of
https://github.com/mainnika/nikita-tokarch-uk.git
synced 2026-05-25 01:03:35 +00:00
Keep query args when postfix append
This commit is contained in:
@@ -49,6 +49,7 @@ func (r *Routes) usePostfixForce(c *routing.Context) (err error) {
|
||||
|
||||
fullPath = append(fullPath, '.')
|
||||
fullPath = append(fullPath, []byte(templates.URLPostfix)...)
|
||||
fullPath = c.QueryArgs().AppendBytes(fullPath)
|
||||
|
||||
return r.relativeRedirectBytes(c, fullPath, fasthttp.StatusFound)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user