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") +}