mirror of
https://github.com/astaxie/beego.git
synced 2024-11-25 07:00:55 +00:00
fix code with no need line
This commit is contained in:
parent
f535916fae
commit
2d77c4dc49
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user