mirror of
https://github.com/astaxie/beego.git
synced 2024-11-25 11:30: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".
|
// Scheme returns request scheme as "http" or "https".
|
||||||
// if error, return empty string.
|
|
||||||
func (input *BeegoInput) Scheme() string {
|
func (input *BeegoInput) Scheme() string {
|
||||||
if input.Request.URL.Scheme != "" {
|
if input.Request.URL.Scheme != "" {
|
||||||
return input.Request.URL.Scheme
|
return input.Request.URL.Scheme
|
||||||
@ -59,7 +58,6 @@ func (input *BeegoInput) Scheme() string {
|
|||||||
} else {
|
} else {
|
||||||
return "https"
|
return "https"
|
||||||
}
|
}
|
||||||
return ""
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Domain returns host name.
|
// Domain returns host name.
|
||||||
|
Loading…
Reference in New Issue
Block a user