mirror of
https://github.com/bestnite/sub2clash.git
synced 2025-06-17 12:43:18 +08:00
⚡️ Improve
This commit is contained in:
@ -7,8 +7,6 @@ import (
|
||||
"path/filepath"
|
||||
)
|
||||
|
||||
// LoadTemplate 加载模板
|
||||
// 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