diff --git a/.env.example b/.env.example index f270545..0a6780f 100644 --- a/.env.example +++ b/.env.example @@ -33,3 +33,4 @@ MATRIX_DEV_TURN_MAX_PORT=49200 MATRIX_HOMESERVER_URL=http://localhost:8008 MATRIX_REGISTRATION_SHARED_SECRET=copy-from-matrix-dev-synapse-homeserver-yaml MATRIX_SERVICE_USER_LOCALPART=fedeo_service +NUXT_PUBLIC_MATRIX_ELEMENT_URL=http://localhost:8080 diff --git a/frontend/nuxt.config.ts b/frontend/nuxt.config.ts index 0b465e8..8b07625 100644 --- a/frontend/nuxt.config.ts +++ b/frontend/nuxt.config.ts @@ -80,7 +80,8 @@ export default defineNuxtConfig({ public: { apiBase: '', - pdfLicense: '' + pdfLicense: '', + matrixElementUrl: process.env.NUXT_PUBLIC_MATRIX_ELEMENT_URL || 'http://localhost:8080' } }, diff --git a/frontend/pages/communication/index.vue b/frontend/pages/communication/index.vue index c62976d..745b048 100644 --- a/frontend/pages/communication/index.vue +++ b/frontend/pages/communication/index.vue @@ -1,6 +1,7 @@