diff options
| author | Xe Iaso <me@xeiaso.net> | 2025-01-19 12:56:59 -0500 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2025-01-19 12:56:59 -0500 |
| commit | 55045aedfe14c25c67136dbb58b64726806799fd (patch) | |
| tree | e64e4ce51c1e8a2d46c817d04ff5ea0a40d3ca91 /cmd | |
| parent | 090ef2fdad7032b09b02e4ffcaeeb4b64d174411 (diff) | |
| download | x-55045aedfe14c25c67136dbb58b64726806799fd.tar.xz x-55045aedfe14c25c67136dbb58b64726806799fd.zip | |
Earthfile: embed the version in CI
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/anubis/main.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/anubis/main.go b/cmd/anubis/main.go index 7d58e07..bda4892 100644 --- a/cmd/anubis/main.go +++ b/cmd/anubis/main.go @@ -26,6 +26,7 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" "github.com/prometheus/client_golang/prometheus/promhttp" + "within.website/x" "within.website/x/internal" "within.website/x/xess" ) @@ -107,7 +108,7 @@ func main() { mux.HandleFunc("/", s.maybeReverseProxy) - slog.Info("listening", "url", "http://localhost"+*bind, "difficulty", *challengeDifficulty, "serveRobotsTXT", *robotsTxt, "target", *target) + slog.Info("listening", "url", "http://localhost"+*bind, "difficulty", *challengeDifficulty, "serveRobotsTXT", *robotsTxt, "target", *target, "version", x.Version) log.Fatal(http.ListenAndServe(*bind, mux)) } |
