Fix: resolve Unterminated regexp literal build error in page.tsx

This commit is contained in:
Daniel Bedeleanu
2026-04-14 20:48:53 +03:00
parent 00ee4cf9c5
commit 1ea5e90bc4
4 changed files with 42 additions and 26 deletions

View File

@@ -200,4 +200,20 @@ Obiectiv: audit de securitate complet înainte de producție.
- `ALLOWED_ORIGINS` — auto-detected
- `DATA_DIR` — absolute path
- `JWT_SECRET_KEY` — ephemeral (regenerates on restart)
\n---\n
## [Archived] Gemini (Antigravity) — 2026-04-13 — CORS & Config Centralization
**Active AI:** Gemini (Antigravity)
**Archived:** 2026-04-14
**Version:** v1.9.18 | **Branch:** dev
### Status
STABLE — GENERIC CORS & CONFIG CENTRALIZATION COMPLETE.
The CORS system has been upgraded to support `EXTRA_ALLOWED_ORIGINS` in `inventory.env`.
### What was done
1. **Generic CORS**: Introduced `EXTRA_ALLOWED_ORIGINS` in `inventory.env`. Backend expansion in `main.py` handles all required ports.
2. **Config Centralization**: `inventory.env` is now the Primary SSOT for networking and AI keys.
3. **Startup**: Enhanced `start_server.sh` with better LAN/VPN URL discovery and display.
---