mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-13 10:47:19 +03:00
Show Query params for invalid URL's
This commit is contained in:
parent
25a9320bce
commit
02a5fec6b6
@ -14,7 +14,7 @@ func (c *MainController) Get() {
|
||||
func (c *MainController) Error404() {
|
||||
if beego.BConfig.RunMode != beego.PROD || beego.BConfig.Log.AccessLogs {
|
||||
r := c.Ctx.Request
|
||||
devInfo := fmt.Sprintf(" | %-10s | %-40s | %-16s | %-10s |", r.Method, r.URL.Path, " ", "notmatch")
|
||||
devInfo := fmt.Sprintf("| %-10s | %-40s | %-16s", r.Method, r.URL.Path, r.URL.RawQuery)
|
||||
if beego.DefaultAccessLogFilter == nil || !beego.DefaultAccessLogFilter.Filter(c.Ctx) {
|
||||
beego.Warn(devInfo)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user