From a879c44c39e4ad804e5824d445902bc7b94278ee Mon Sep 17 00:00:00 2001 From: Akshay Gupta Date: Thu, 28 Mar 2024 14:31:12 +0530 Subject: [PATCH] isProduction check in index --- svc/web/handlers/home.go | 1 + 1 file changed, 1 insertion(+) diff --git a/svc/web/handlers/home.go b/svc/web/handlers/home.go index a27c5e0..bed055b 100644 --- a/svc/web/handlers/home.go +++ b/svc/web/handlers/home.go @@ -24,6 +24,7 @@ func HandleHome(c *gin.Context) { "repositories": repositories, "runs": runs, "runnerLabels": config.C.ValidRunnerNames, + "isProduction": isProduction.(bool), } c.HTML(http.StatusOK, "index.html", headers)