From 1231648035acf34de84e7aab9712f49232b0ea0a Mon Sep 17 00:00:00 2001 From: "A. Svensson" Date: Fri, 17 Jun 2016 21:34:26 +0200 Subject: [PATCH] Add some internal joke thing. --- src/web.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/web.go b/src/web.go index 5ee0199..112b45c 100644 --- a/src/web.go +++ b/src/web.go @@ -82,6 +82,8 @@ func (i *Instance) Serve(addr string) error { //i.router.GET("/stats", page_stats) i.router.GET("/about", i.page_about) + i.router.GET("/r/ver", i.page_apollo) + return i.router.Run(i.addr) } @@ -130,3 +132,8 @@ func (i *Instance) page_server(c *gin.Context) { "weekdayavg": weekdayavg, }) } + +func (i *Instance) page_apollo(c *gin.Context) { + // Go away, this it not an easter egg. + c.Redirect(http.StatusFound, "byond://192.95.55.67:3333") +}