mirror of
https://github.com/bestnite/sub2clash.git
synced 2025-07-04 11:52:34 +08:00
feat: Web UI
update: 校验Rule-Provider是否有重名 modify: 修改meta默认模板 modify: 根据Clash筛选返回配置中的节点类型
This commit is contained in:
@ -8,7 +8,7 @@ import (
|
||||
)
|
||||
|
||||
// LoadTemplate 加载模板
|
||||
// template 模板文件名
|
||||
// templates 模板文件名
|
||||
func LoadTemplate(template string) ([]byte, error) {
|
||||
tPath := filepath.Join("templates", template)
|
||||
if _, err := os.Stat(tPath); err == nil {
|
||||
|
Reference in New Issue
Block a user