fix: allow local frontend cors origins

This commit is contained in:
devRaGonSa
2026-05-21 20:31:33 +02:00
parent efa4e5cb16
commit 348997d27a
4 changed files with 17 additions and 2 deletions

View File

@@ -176,8 +176,10 @@ HTML si una demo local necesita un intervalo distinto.
Valor por defecto de `HLL_BACKEND_ALLOWED_ORIGINS`:
- `null`
- `http://127.0.0.1`
- `http://127.0.0.1:5500`
- `http://127.0.0.1:8080`
- `http://localhost`
- `http://localhost:5500`
- `http://localhost:8080`
@@ -1420,7 +1422,9 @@ locales mas comunes del proyecto:
- `http://127.0.0.1:5500`
- `http://localhost:5500`
- `http://127.0.0.1`
- `http://127.0.0.1:8080`
- `http://localhost`
- `http://localhost:8080`
Las respuestas `GET` y `OPTIONS` incluyen `Access-Control-Allow-Origin` cuando