fix: add missing i18n fields in admin and fix Surge template issue

This commit is contained in:
xboard
2025-05-16 23:18:30 +08:00
parent 0d1588f58a
commit 24d9533dca
5 changed files with 14 additions and 2 deletions

View File

@@ -218,7 +218,7 @@ class ConfigController extends Controller
)
),
'subscribe_template_surge' => (string) $this->getTemplateContent(
$this->getRuleFile(Stash::CUSTOM_TEMPLATE_FILE, Stash::DEFAULT_TEMPLATE_FILE)
$this->getRuleFile(Surge::CUSTOM_TEMPLATE_FILE, Surge::DEFAULT_TEMPLATE_FILE)
),
'subscribe_template_surfboard' => (string) $this->getTemplateContent(
$this->getRuleFile(Surfboard::CUSTOM_TEMPLATE_FILE, Surfboard::DEFAULT_TEMPLATE_FILE)