mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-10-02 16:00:14 +00:00
feat: Optimize log file support for IPv6. (#10418)
Refs https://github.com/1Panel-dev/1Panel/issues/10411
This commit is contained in:
@@ -124,7 +124,7 @@ const defaultRules: TokenRule[] = [
|
||||
},
|
||||
{
|
||||
type: 'ipv6',
|
||||
pattern: /\b(?:[A-Fa-f0-9]{1,4}:){7}[A-Fa-f0-9]{1,4}\b/g,
|
||||
pattern: /\b(?:[A-Fa-f0-9]{0,4}:){1,7}[A-Fa-f0-9]{0,4}\b|\b::[A-Fa-f0-9:]*\b|\b[A-Fa-f0-9:]*::\b/g,
|
||||
color: '#4A90E2',
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user