From 61fcf2dcfebc846edd40b4b9a06d4d9204c3a2e4 Mon Sep 17 00:00:00 2001 From: ston1th Date: Sun, 28 Oct 2018 00:22:18 +0200 Subject: [PATCH] fixed page timing --- pkg/server/context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/server/context.go b/pkg/server/context.go index 33411f4..bdb5aab 100644 --- a/pkg/server/context.go +++ b/pkg/server/context.go @@ -121,7 +121,7 @@ func (c *Context) Exec() { c.Data.Admin = c.Admin() c.Data.User = c.User() c.Data.Login = c.LoggedOn() - c.Data.Time = time.Since(c.Time).Nanoseconds() / 1e5 + c.Data.Time = time.Since(c.Time).Nanoseconds() / 1e6 if c.Data.Msg != "" { c.Status = http.StatusBadRequest