diff options
Diffstat (limited to 'routers/dashboard.go')
-rw-r--r-- | routers/dashboard.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/routers/dashboard.go b/routers/dashboard.go index 2c81cf23..12635412 100644 --- a/routers/dashboard.go +++ b/routers/dashboard.go @@ -11,6 +11,11 @@ import ( ) func Home(ctx *middleware.Context) { + if ctx.Query("go-get") == "1" { + ctx.Write(base.GetGoGetMetaList()) + return + } + if ctx.IsSigned { user.Dashboard(ctx) return |