mirror of
https://github.com/astaxie/beego.git
synced 2025-07-01 06:50:18 +00:00
fix code with no need line
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user