← back to Consulting Rentv Com
rentv portal: root LANDS on the Growth Strategy deliverable, not a sign-in card
0e92353d5440a90e8366a694fd315f3f760bd09e · 2026-07-20 10:26:12 -0700 · Steve
Steve: rentv.agentabrams.com should land on the real portal, not forward through
a click-through sign-in card. GET / now serves portal.html directly (domain is
already behind one nginx basic-auth); the credentials/welcome card moves to
/welcome. /portal kept for back-compat.
Files touched
Diff
commit 0e92353d5440a90e8366a694fd315f3f760bd09e
Author: Steve <steve@designerwallcoverings.com>
Date: Mon Jul 20 10:26:12 2026 -0700
rentv portal: root LANDS on the Growth Strategy deliverable, not a sign-in card
Steve: rentv.agentabrams.com should land on the real portal, not forward through
a click-through sign-in card. GET / now serves portal.html directly (domain is
already behind one nginx basic-auth); the credentials/welcome card moves to
/welcome. /portal kept for back-compat.
---
server.js | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/server.js b/server.js
index a96b86d..9acfce6 100644
--- a/server.js
+++ b/server.js
@@ -4,7 +4,8 @@
* Generated by the `consulting` skill (fuses fantasea-consulting + prestige-car-wash).
*
* Routes:
- * GET / -> signin.html (UNGATED) — client info + credentials
+ * GET / -> portal.html (UNGATED at app; nginx gates domain) — LANDS on the deliverable
+ * GET /welcome -> signin.html (UNGATED) — client info + credentials card
* GET /intake -> intake.html (UNGATED) — new-client questionnaire
* POST /api/intake -> append to data/intakes.json (UNGATED submit)
* GET /api/health -> {ok:true} (UNGATED)
@@ -42,7 +43,12 @@ const writeJSON = (f, v) => fs.writeFileSync(path.join(DATA, f), JSON.stringify(
const BUCKETS = ['client', 'socials', 'suggestions', 'competitors', 'best-times', 'content-calendar', 'ads', 'directories', 'media', 'intakes', 'crm'];
// ---- ungated routes --------------------------------------------------------
-app.get('/', (_req, res) => res.sendFile(path.join(PUB, 'signin.html')));
+// Root LANDS on the actual deliverable (Steve 2026-07-20: "land, not just
+// forwarded"). The whole domain is already behind one nginx basic-auth, so the
+// portal opens directly — no click-through sign-in card. The branded
+// credentials/welcome card is preserved at /welcome for reference.
+app.get('/', (_req, res) => res.sendFile(path.join(PUB, 'portal.html')));
+app.get('/welcome', (_req, res) => res.sendFile(path.join(PUB, 'signin.html')));
app.get('/intake', (_req, res) => res.sendFile(path.join(PUB, 'intake.html')));
app.get('/api/health', (_req, res) => res.json({ ok: true, client: 'RENTV.com', at: new Date().toISOString() }));
app.get('/api/client', (_req, res) => res.json(readJSON('client.json', {}))); // public-safe summary for signin page
← bc2bcc8 auto-save: 2026-07-20T10:01:15 (2 files) — public/videos/hey
·
back to Consulting Rentv Com
·
auto-save: 2026-07-20T10:31:23 (4 files) — public/videos/hey a28f266 →