diff --git a/web/html/settings/panel/subscription/general.html b/web/html/settings/panel/subscription/general.html
index e3481df7..afa956fb 100644
--- a/web/html/settings/panel/subscription/general.html
+++ b/web/html/settings/panel/subscription/general.html
@@ -48,7 +48,13 @@
{{ i18n "pages.settings.subPath"}}
{{ i18n "pages.settings.subPathDesc"}}
-
+ { p = p || '/'; if (!p.startsWith('/')) p='/' + p; if (!p.endsWith('/')) p += '/'; return p.replace(/\/+/g,'/'); })(allSetting.subPath)"
+ placeholder="/sub/"
+ >
@@ -102,4 +108,4 @@
-{{end}}
\ No newline at end of file
+{{end}}
diff --git a/web/html/settings/panel/subscription/json.html b/web/html/settings/panel/subscription/json.html
index c8575e38..ff924352 100644
--- a/web/html/settings/panel/subscription/json.html
+++ b/web/html/settings/panel/subscription/json.html
@@ -5,7 +5,13 @@
{{ i18n "pages.settings.subPath"}}
{{ i18n "pages.settings.subPathDesc"}}
-
+ { p = p || '/'; if (!p.startsWith('/')) p='/' + p; if (!p.endsWith('/')) p += '/'; return p.replace(/\/+/g,'/'); })(allSetting.subJsonPath)"
+ placeholder="/json/"
+ >