Commit 2d77c4dc authored by 傅小黑's avatar 傅小黑

fix code with no need line

parent f535916f
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment