1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-18 12:44:14 +00:00

fix code with no need line

This commit is contained in:
傅小黑 2013-12-26 00:44:49 +08:00
parent f535916fae
commit 2d77c4dc49

View File

@ -50,7 +50,6 @@ func (input *BeegoInput) Site() string {
}
// Scheme returns request scheme as "http" or "https".
// if error, return empty string.
func (input *BeegoInput) Scheme() string {
if input.Request.URL.Scheme != "" {
return input.Request.URL.Scheme
@ -59,7 +58,6 @@ func (input *BeegoInput) Scheme() string {
} else {
return "https"
}
return ""
}
// Domain returns host name.