From f4dcb0de1a7395662102d43d32f4e4197c0d944d Mon Sep 17 00:00:00 2001 From: Ein Anderssono Date: Wed, 14 Oct 2026 14:06:50 +0200 Subject: [PATCH] Remove world description from character start --- README.md | 2 + index.html | 85 ++++++++++++++++----------------------- scripts/check-frontend.sh | 5 +++ 3 files changed, 42 insertions(+), 50 deletions(-) diff --git a/README.md b/README.md index 85436a4..bad475e 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ This repository contains the static Swedish web client for the AI-driven life simulator. The intended deployment is a small Nginx pod in the `ai-spel` namespace. The existing Rust service remains authoritative for accounts, game state, and all `/api/...` routes. +Players provide a character biography, not a world description. The client asks the backend to create a biography-based starting place. It does not preview a person the player may meet; encounters belong to later world exploration. + The browser and API stay on the same public origin, `https://ai-spel.k3s.k0.nu`. The ingress routes `/` to this frontend service and routes `/api`, `/version`, and `/health` to the Rust service. That keeps the current server-side session cookie same-origin and avoids browser CORS configuration. ## Release flow diff --git a/index.html b/index.html index de01d15..0bcf42f 100644 --- a/index.html +++ b/index.html @@ -47,30 +47,15 @@