[object Object]

← back to Butlr

deploy fingerprint route for verification

fb73a00c7f0d8f93f6705c0a8671bc5056d6bd1f · 2026-05-12 16:50:45 -0700 · SteveStudio2

Files touched

Diff

commit fb73a00c7f0d8f93f6705c0a8671bc5056d6bd1f
Author: SteveStudio2 <stevestudio2@SteveStacStudio.lan>
Date:   Tue May 12 16:50:45 2026 -0700

    deploy fingerprint route for verification
---
 routes/twilio-webhooks.js | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/routes/twilio-webhooks.js b/routes/twilio-webhooks.js
index c67a187..f2489e8 100644
--- a/routes/twilio-webhooks.js
+++ b/routes/twilio-webhooks.js
@@ -42,6 +42,13 @@ function ivrDtmfForPhone(phone) {
 
 const router = express.Router();
 
+// Deploy fingerprint — used to verify the running prod's routes file actually
+// matches the local source after deploy. Bump on each suspect deploy.
+const ROUTES_FINGERPRINT = 'twilio-routes-v2026-05-12T2300Z';
+router.get('/__fingerprint', (req, res) => {
+  res.type('text/plain').send(ROUTES_FINGERPRINT);
+});
+
 function publicUrl(req) {
   return process.env.PUBLIC_URL || `${req.protocol}://${req.get('host')}`;
 }

← ab050b2 twilio: number-level voice-default + status-default fallback  ·  back to Butlr  ·  deploy: server-level fingerprint route c1c36a4 →