Point email links at conchecker.scoutitsystems.com and show build SHA in header.
Docker Release / build-and-push (push) Successful in 58s
Docker Release / release (push) Skipped

APP_BASE_URL default (config, .env.example, both compose files) is now
https://conchecker.scoutitsystems.com with no port, so review-required
and final-report email links use the public site. CI bakes the short
commit SHA into the image as APP_BUILD via a Docker build-arg; /health
returns version+build and the site header shows the build so it's easy
to confirm which image is deployed. Local runs default to 'dev'.
This commit is contained in:
John Wilganowski
2026-07-28 20:34:33 +00:00
parent 1c1d2ff21b
commit 4ecc7c5cef
9 changed files with 42 additions and 5 deletions
+5 -1
View File
@@ -87,7 +87,7 @@
<body>
<header>
<h1>Conflict Checker</h1>
<div class="sub">Cross-discipline design contradiction review for construction drawing sets</div>
<div class="sub">Cross-discipline design contradiction review for construction drawing sets<span id="buildTag"></span></div>
</header>
<main>
<div class="drop" id="drop">
@@ -504,6 +504,10 @@ async function finalizeReview(){
// If opened from an email link (/?job=<id>), load that job's results directly.
(function init(){
// Show the deployed build in the header so it's obvious which version is up.
fetch('/health').then(r=>r.ok?r.json():null).then(h=>{
if(h&&h.build) document.getElementById('buildTag').textContent=' · build '+h.build;
}).catch(()=>{});
const jobId=new URLSearchParams(location.search).get('job');
if(jobId){ statusEl.innerHTML='<span class="spinner"></span>Loading job '+esc(jobId)+'...'; poll(jobId); }
})();