aboutsummaryrefslogtreecommitdiff
path: root/routers/dashboard.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/dashboard.go')
-rw-r--r--routers/dashboard.go5
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