mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-10-17 15:33:43 +08:00
优化服务启动流程,修复后端配置组件名称和vue组件名称不一致无法缓存问题
This commit is contained in:
@@ -131,7 +131,7 @@ func GetLocation(ctx context.Context, ip string) (data *IpLocationData, err erro
|
||||
}
|
||||
|
||||
if validate.IsLocalIPAddr(ip) {
|
||||
return nil, fmt.Errorf("must be a public ip:%v", ip)
|
||||
return // nil, fmt.Errorf("must be a public ip:%v", ip)
|
||||
}
|
||||
|
||||
if cacheMap.Contains(ip) {
|
||||
|
Reference in New Issue
Block a user