From a71bac36c11ed80360b66e3ef304f6334b706271 Mon Sep 17 00:00:00 2001 From: Abdullah Kaya Date: Mon, 19 Oct 2026 21:44:47 +0300 Subject: [PATCH] platform: the waiting list asks for the domain a license is issued for A Platform license is issued for an organization and one domain: the host of Platform's own URL, which Platform compares with AUTH_URL as it starts and refuses with LICENSE_HOST_MISMATCH when it differs. The form asked for neither, so every request needed a second email before a key could be cut. The form now asks for the organization as it should appear on the license and for the Platform domain, which is required and accepts a domain name only: no scheme, no port, no IP address. Its hint names the installer setting the same value goes into, endpoints.hosts.platform. The composed email puts the licence choice, the organization and the domain first. --- package.json | 2 +- src/data/platform.ts | 4 ++-- src/pages/platform.astro | 38 ++++++++++++++++++++++++++++++++++++-- src/scripts/waitlist.ts | 13 +++++++++---- 4 files changed, 48 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index daf4d0d..9f9fdb6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "libredb-website", - "version": "1.5.0", + "version": "1.5.1", "private": true, "type": "module", "description": "libredb.org — marketing website for LibreDB Studio (Astro static + Outstatic CMS)", diff --git a/src/data/platform.ts b/src/data/platform.ts index 4d3435e..0ea406c 100644 --- a/src/data/platform.ts +++ b/src/data/platform.ts @@ -133,7 +133,7 @@ export const limits: { term: string; detail: string }[] = [ { term: 'Licence key', detail: - 'Every self-hosted install needs a licence key, and Platform does not start without one. The key sets the admin and user seats and the expiry.', + 'Every self-hosted install needs a licence key, and Platform does not start without one. The key names your organization and the one domain Platform runs on, and sets the admin and user seats and the expiry.', }, { term: 'Audit', @@ -153,7 +153,7 @@ export const offer = { seats: '1 admin and 3 users', term: '12 months', headline: 'Join the waiting list', - lead: 'The licence for 1 admin and 3 users is free for 12 months — no card, nothing to buy. Need more seats? Those are paid, and we will send a price for the number you need. Tell us a little about your team and we will come back with a licence key and the installer.', + lead: 'The licence for 1 admin and 3 users is free for 12 months — no card, nothing to buy. Need more seats? Those are paid, and we will send a price for the number you need. Tell us your organization and the domain Platform will run on, and we will come back with a licence key and the installer.', choices: [ { value: 'Free licence — 1 admin + 3 users', label: '1 admin + 3 users', note: 'Free for 12 months' }, { value: 'Paid licence — more seats', label: 'More than that', note: 'Paid — we send a price' }, diff --git a/src/pages/platform.astro b/src/pages/platform.astro index c8a23c6..bff84be 100644 --- a/src/pages/platform.astro +++ b/src/pages/platform.astro @@ -186,13 +186,38 @@ const mailto = `mailto:${contact.email}?subject=${encodeURIComponent(contact.sub + +
+ + +

+ The address people will open Platform at. The license runs on this one domain, so give the name you will + set as endpoints.hosts.platform in the installer's libredb.yaml. A domain name + only: no https://, no port, no IP address. +

+