aboutsummaryrefslogtreecommitdiff
path: root/internal/route/dev/template.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/route/dev/template.go')
-rw-r--r--internal/route/dev/template.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/route/dev/template.go b/internal/route/dev/template.go
index 38e35b39..be1fe360 100644
--- a/internal/route/dev/template.go
+++ b/internal/route/dev/template.go
@@ -13,7 +13,7 @@ import (
func TemplatePreview(c *context.Context) {
c.Data["User"] = db.User{Name: "Unknown"}
c.Data["AppName"] = setting.AppName
- c.Data["AppVer"] = setting.AppVer
+ c.Data["AppVersion"] = setting.AppVersion
c.Data["AppURL"] = setting.AppURL
c.Data["Code"] = "2014031910370000009fff6782aadb2162b4a997acb69d4400888e0b9274657374"
c.Data["ActiveCodeLives"] = setting.Service.ActiveCodeLives / 60