优化代码/商业版支持L2节点

This commit is contained in:
刘祥超
2022-04-04 12:06:53 +08:00
parent d7ec36b12c
commit 6998d3468b
10 changed files with 242 additions and 149 deletions

View File

@@ -0,0 +1,17 @@
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
//go:build !plus
// +build !plus
package nodes
import (
"github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs"
)
func (this *HTTPRequest) checkLnRequest() bool {
return false
}
func (this *HTTPRequest) getLnOrigin() *serverconfigs.OriginConfig {
return nil
}