Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sub/sub.go')
-rw-r--r--sub/sub.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/sub/sub.go b/sub/sub.go
index b7e2603e..8a16120d 100644
--- a/sub/sub.go
+++ b/sub/sub.go
@@ -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 {