Merge branch 'main' into feat/i18n-bilingual-ca-es
Run Tests on Branches / Detect Changes (push) Successful in 13s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Successful in 1m45s
Run Tests on Branches / Frontend Mobile Tests (push) Has been skipped
Run Tests on Branches / Parapharmacy API Tests (push) Has been skipped
Run Tests on Branches / PIP Platform Tests (push) Has been skipped

This commit is contained in:
2026-07-17 07:50:32 +00:00
7 changed files with 225 additions and 22 deletions
+4
View File
@@ -20,5 +20,9 @@ VAPID_SUBJECT=mailto:admin@example.com
# https://expo.dev/accounts/[username]/settings/access-tokens
EXPO_ACCESS_TOKEN=
# Clave para que los workflows de N8N (capa ETL) hagan ingest al catálogo unificado.
# Genera una cadena aleatoria fuerte, p.ej.: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
INGEST_API_KEY=dev-ingest-key-change-me
# Parapharmacy API
PARAPHARMACY_API_URL=http://localhost:3002
+1 -1
View File
@@ -6,7 +6,7 @@
# In Docker on the same host as Alloy, use http://localhost:4318 (the
# container's perspective of the host). For external deploys, use the
# Alloy's public URL, e.g. https://alloy.example.com.
VITE_FARO_ENDPOINT=http://localhost:4318
VITE_FARO_ENDPOINT=https://grafana.hacecalor.net:4318
# App name shown in Grafana Explore / Faro data source.
VITE_FARO_APP_NAME=farmaclic-frontend
+6 -2
View File
@@ -12,6 +12,10 @@ import scraperRouter from './routes/scraper.js';
const app = express();
// Swagger configuration
const swaggerServerUrl = process.env.CORS_ORIGIN
? process.env.CORS_ORIGIN.replace(/\/$/, '') // strip trailing slash
: `http://localhost:${config.port}`;
const swaggerOptions = {
definition: {
openapi: '3.0.0',
@@ -22,8 +26,8 @@ const swaggerOptions = {
},
servers: [
{
url: `http://localhost:${config.port}`,
description: 'Development server',
url: swaggerServerUrl,
description: process.env.CORS_ORIGIN ? 'Production server' : 'Development server',
},
],
components: {