jonssonyan / h-ui

Just the panel for Hysteria2 / 仅仅是 Hysteria2 的面板
GNU General Public License v3.0
562 stars 85 forks source link

无法使用ACL分流,添加ACL规则后报错 #13

Closed TCBW-KOD closed 1 week ago

TCBW-KOD commented 1 week ago

2024-07-08T22:58:45+08:00 FATAL failed to parse server config {"error": "1 error(s) decoding:\n\n* error decoding 'acl.geoUpdateInterval': time: invalid duration \"\""}

TCBW-KOD commented 1 week ago

手动在acl.geoUpdateInterval输入24h可解决,但这样好像与默认描述的 “可选。GeoIP/GeoSite 数据库刷新的间隔。默认为 168 小时(1 周)。仅在 GeoIP/GeoSite 数据库是自动下载的情况下生效。“ 相矛盾,如果方便的话,当用户不输入此行时,佬可将启动hysteria生成的yaml文件的逻辑中,默认写为geoUpdateInterval: 24h

jonssonyan commented 1 week ago

fixed https://github.com/jonssonyan/h-ui/releases/tag/v0.0.4

jonssonyan commented 1 week ago

默认值用的推荐值168h