minor change

This commit is contained in:
mhsanaei
2025-09-18 12:20:21 +02:00
parent c720008187
commit 8c8d280f14
4 changed files with 4 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ func setEmbeddedTemplates(engine *gin.Engine) error {
webpkg.EmbeddedHTML(),
"html/common/page.html",
"html/component/aThemeSwitch.html",
"html/subscription.html",
"html/settings/panel/subscription/subpage.html",
)
if err != nil {
return err
@@ -207,7 +207,7 @@ func (s *Server) getHtmlFiles() ([]string, error) {
files = append(files, theme)
}
// page itself
page := filepath.Join(dir, "web", "html", "subscription.html")
page := filepath.Join(dir, "web", "html", "subpage.html")
if _, err := os.Stat(page); err == nil {
files = append(files, page)
} else {