mirror of
https://github.com/astaxie/beego.git
synced 2024-12-22 21:00:48 +00:00
beego: update the Url to Path
This commit is contained in:
parent
c83a2a0925
commit
d8614e80e7
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user