sub page: improved

This commit is contained in:
mhsanaei
2025-09-16 14:38:18 +02:00
parent ecfffa882a
commit c4871ef8fe
2 changed files with 25 additions and 6 deletions

View File

@@ -1109,7 +1109,7 @@ func (s *SubService) BuildPageData(subId string, hostHeader string, traffic xray
return PageData{
Host: hostHeader,
BasePath: "/",
BasePath: "/", // kept as "/"; templates now use context base_path injected from router
SId: subId,
Download: download,
Upload: upload,