about summary refs log tree commit diff stats
path: root/internal
diff options
context:
space:
mode:
authorAlan Pearce2024-04-27 21:34:47 +0200
committerAlan Pearce2024-04-27 21:34:47 +0200
commita04ec2d5658a85913c81061636309893d96f0531 (patch)
treef7a1c2c17bee41d7734859b4ceca7727f8799b06 /internal
parent2a4c795d5a165f995e9f7dc84e07465b140f3770 (diff)
downloadwebsite-a04ec2d5658a85913c81061636309893d96f0531.tar.lz
website-a04ec2d5658a85913c81061636309893d96f0531.tar.zst
website-a04ec2d5658a85913c81061636309893d96f0531.zip
fix missing commit hashes in binary
Diffstat (limited to 'internal')
-rw-r--r--internal/server/server.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/server/server.go b/internal/server/server.go
index 2e9796d..cbee989 100644
--- a/internal/server/server.go
+++ b/internal/server/server.go
@@ -25,6 +25,11 @@ import (
 
 var config *cfg.Config
 
+var (
+	CommitSHA string
+	ShortSHA  string
+)
+
 type Config struct {
 	Production    bool    `conf:"default:false"`
 	InDevServer   bool    `conf:"default:false"`