mirror of
https://github.com/astaxie/beego.git
synced 2025-06-19 16:40:40 +00:00
beego: update the Url to Path
This commit is contained in:
@ -60,7 +60,7 @@ func (input *BeegoInput) Uri() string {
|
||||
|
||||
// Url returns request url path (without query string, fragment).
|
||||
func (input *BeegoInput) Url() string {
|
||||
return input.Request.URL.String()
|
||||
return input.Request.URL.Path
|
||||
}
|
||||
|
||||
// Site returns base site url as scheme://domain type.
|
||||
|
Reference in New Issue
Block a user