chore: label waiter domain as legacy in sysadmin; document bonamin.net hosts
Per-client domains are retired (client-services plan step 9); the field and column stay for sites not yet migrated (never drop columns). Documents xenia-api / xenia-admin / registry .bonamin.net. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ This folder is its **own git repo**, nested inside the `xenia-pos` parent repo.
|
|||||||
| `sysadmin_panel` | React + Vite (`VITE_CLOUD_URL` baked in at build) | 5175 | the developer only |
|
| `sysadmin_panel` | React + Vite (`VITE_CLOUD_URL` baked in at build) | 5175 | the developer only |
|
||||||
| `connect_frontend` | nginx serving two SPAs: `menu-app` at `/menu/`, `manager-app` at `/manage/` | 3100 | restaurant customers (QR menu), remote managers |
|
| `connect_frontend` | nginx serving two SPAs: `menu-app` at `/menu/`, `manager-app` at `/manage/` | 3100 | restaurant customers (QR menu), remote managers |
|
||||||
|
|
||||||
TLS and domains are handled in front of these ports on the VPS (e.g. `xenia-admin.bonamin.gr` → cloud_backend).
|
TLS and domains are handled in front of these ports on the VPS (`xenia-api.bonamin.net` → cloud_backend, `xenia-admin.bonamin.net` → sysadmin panel, `registry.bonamin.net` → image registry).
|
||||||
|
|
||||||
## Routers (`cloud_backend/routers/`)
|
## Routers (`cloud_backend/routers/`)
|
||||||
|
|
||||||
|
|||||||
@@ -328,7 +328,9 @@ export default function SiteDetailPage() {
|
|||||||
{/* Waiter Domain */}
|
{/* Waiter Domain */}
|
||||||
<div className="bg-gray-900 border border-gray-700 rounded-xl p-4 mb-4">
|
<div className="bg-gray-900 border border-gray-700 rounded-xl p-4 mb-4">
|
||||||
<div className="flex items-center justify-between mb-3">
|
<div className="flex items-center justify-between mb-3">
|
||||||
<h2 className="text-xs font-semibold text-gray-500 uppercase tracking-wider">Waiter Domain</h2>
|
{/* Retired per-client domain setup (client-services plan step 9) — kept only for sites
|
||||||
|
not yet migrated; new sites use http://<LAN IP> and the pairing QR in the manager */}
|
||||||
|
<h2 className="text-xs font-semibold text-gray-500 uppercase tracking-wider">Waiter Domain (legacy — not needed for new sites)</h2>
|
||||||
<button
|
<button
|
||||||
onClick={() => { setNewDomain(site.waiter_domain || ''); setModal('domain') }}
|
onClick={() => { setNewDomain(site.waiter_domain || ''); setModal('domain') }}
|
||||||
className="text-xs text-cyan-400 hover:text-cyan-300 transition-colors"
|
className="text-xs text-cyan-400 hover:text-cyan-300 transition-colors"
|
||||||
|
|||||||
Reference in New Issue
Block a user