|
@@ -75,7 +75,7 @@ func (a *SUBController) subs(c *gin.Context) {
|
|
// Build page data in service
|
|
// Build page data in service
|
|
subURL, subJsonURL := a.subService.BuildURLs(scheme, hostWithPort, a.subPath, a.subJsonPath, subId)
|
|
subURL, subJsonURL := a.subService.BuildURLs(scheme, hostWithPort, a.subPath, a.subJsonPath, subId)
|
|
page := a.subService.BuildPageData(subId, hostHeader, traffic, lastOnline, subs, subURL, subJsonURL)
|
|
page := a.subService.BuildPageData(subId, hostHeader, traffic, lastOnline, subs, subURL, subJsonURL)
|
|
- c.HTML(200, "subscription.html", gin.H{
|
|
|
|
|
|
+ c.HTML(200, "subpage.html", gin.H{
|
|
"title": "subscription.title",
|
|
"title": "subscription.title",
|
|
"cur_ver": config.GetVersion(),
|
|
"cur_ver": config.GetVersion(),
|
|
"host": page.Host,
|
|
"host": page.Host,
|