refactor: RAPPORT-HOST ist jetzt reines Backend
Das Frontend (Marketing + Login/Konto) ist in RAPPORT-WEBSITE umgezogen (Hugo + Vanilla-JS). RAPPORT-HOST liefert dessen gebautes public/ statisch aus und stellt /api bereit. - server/index.js: serviert RAPPORT-WEBSITE/public + /api (eine Origin) - server/env.js: websitePublicDir (WEBSITE_PUBLIC_DIR, Default Schwester-Repo); PUBLIC_BASE_URL Default auf einheitliche Origin :8787 - billing.js: Checkout-Redirects auf /konto/ bzw. /hosting-preise/ - entfernt: src/ (React), marketing/ (Hugo-Kopie), index.html, vite.config.js - package.json: nur noch server/migrate/build:website-Scripts E2E verifiziert: /, /hosting/, /login/, /konto/, /js + Font = 200; register→checkout(mock)→Instanz; Redirect → /konto/?provisioned=1. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -7,8 +7,8 @@
|
||||
# ═══ Server ═══
|
||||
PORT=8787
|
||||
# Basis-URL, unter der RAPPORT-HOST erreichbar ist (für Stripe-Redirects).
|
||||
# Lokal: http://localhost:5273 · Prod: https://host.rapport.studio
|
||||
PUBLIC_BASE_URL=http://localhost:5273
|
||||
# Lokal: http://localhost:8787 · Prod: https://host.rapport.studio
|
||||
PUBLIC_BASE_URL=http://localhost:8787
|
||||
|
||||
# ═══ Auth ═══
|
||||
# JWT-Signatur-Secret für HOST-Kundenkonten. openssl rand -hex 32
|
||||
|
||||
Reference in New Issue
Block a user