aboutsummaryrefslogtreecommitdiff
path: root/route/routes/admin.go
diff options
context:
space:
mode:
Diffstat (limited to 'route/routes/admin.go')
-rw-r--r--route/routes/admin.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/route/routes/admin.go b/route/routes/admin.go
index c198e21..81b9946 100644
--- a/route/routes/admin.go
+++ b/route/routes/admin.go
@@ -192,6 +192,8 @@ func AdminFollow(ctx *fiber.Ctx) error {
redirect = actor.Name
}
+ time.Sleep(time.Duration(500) * time.Millisecond)
+
return ctx.Redirect("/"+config.Key+"/"+redirect, http.StatusSeeOther)
}
@@ -230,6 +232,9 @@ func AdminAddBoard(ctx *fiber.Ctx) error {
newActorActivity.Object.Sensitive = board.Restricted
newActorActivity.MakeRequestOutbox()
+
+ time.Sleep(time.Duration(500) * time.Millisecond)
+
return ctx.Redirect("/"+config.Key, http.StatusSeeOther)
}