mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-10 03:03:44 +08:00
版本预发布
This commit is contained in:
@@ -59,7 +59,7 @@ func GetAddr(ctx context.Context) string {
|
||||
func GetDomain(ctx context.Context) string {
|
||||
r := ghttp.RequestFromCtx(ctx)
|
||||
if r == nil {
|
||||
g.Log().Warningf(ctx, "GetDomain ctx not request")
|
||||
g.Log().Info(ctx, "GetDomain ctx not request")
|
||||
return ""
|
||||
}
|
||||
if validate.IsDNSName(r.Host) {
|
||||
|
||||
Reference in New Issue
Block a user