mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-01 21:30:24 +08:00
将请求的一些方法改为可exported,方便以后扩展
This commit is contained in:
@@ -15,7 +15,7 @@ func (this *HTTPRequest) doRewrite() (shouldShop bool) {
|
||||
if this.rewriteRule.Mode == serverconfigs.HTTPRewriteModeProxy {
|
||||
// 外部URL
|
||||
if this.rewriteIsExternalURL {
|
||||
host := this.Host
|
||||
host := this.host
|
||||
if len(this.rewriteRule.ProxyHost) > 0 {
|
||||
host = this.rewriteRule.ProxyHost
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user