feat: update ua regex to include 'Darwin'

This commit is contained in:
SunBK201 2025-10-31 15:26:32 +08:00
parent f4fee4f1ae
commit e55317233d
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ UA3F 支持 LuCI Web 页面,可以打开 Services -> UA3F 进行相关配置
设备与系统信息正则表达式参考:
```regex
(Apple|iPhone|iPad|Macintosh|Mac OS X|Mac|Microsoft|Windows|Linux|Android|OpenHarmony|Mobile)
(Apple|iPhone|iPad|Macintosh|Mac OS X|Mac|Darwin|Microsoft|Windows|Linux|Android|OpenHarmony|Mobile)
```
<details>

View File

@ -6,6 +6,6 @@ config 'ua3f' 'main'
option port '1080'
option bind '127.0.0.1'
option ua 'FFF'
option ua_regex '(Apple|iPhone|iPad|Macintosh|Mac OS X|Mac|Microsoft|Windows|Linux|Android|OpenHarmony|Mobile)'
option ua_regex '(Apple|iPhone|iPad|Macintosh|Mac OS X|Mac|Darwin|Microsoft|Windows|Linux|Android|OpenHarmony|Mobile)'
option partial_replace false
option log_level 'info'