beego: update the Url to Path
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -60,7 +60,7 @@ func (input *BeegoInput) Uri() string { | ... | @@ -60,7 +60,7 @@ func (input *BeegoInput) Uri() string { |
| 60 | 60 | ||
| 61 | // Url returns request url path (without query string, fragment). | 61 | // Url returns request url path (without query string, fragment). |
| 62 | func (input *BeegoInput) Url() string { | 62 | func (input *BeegoInput) Url() string { |
| 63 | return input.Request.URL.String() | 63 | return input.Request.URL.Path |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | // Site returns base site url as scheme://domain type. | 66 | // Site returns base site url as scheme://domain type. | ... | ... |
-
Please register or sign in to post a comment