From dce2c86fc2f6a228e27df57ee8f287d36ef869d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20D=C3=B6rre?= Date: Tue, 30 Nov 2021 03:58:44 +0100 Subject: [PATCH] fixes --- front/src/Enum/EnvironmentVariable.ts | 8 +++++++- front/webpack.config.ts | 2 +- messages/package.json | 1 + messages/yarn.lock | 5 +++++ 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/front/src/Enum/EnvironmentVariable.ts b/front/src/Enum/EnvironmentVariable.ts index d96e94a3..5ccc3ab1 100644 --- a/front/src/Enum/EnvironmentVariable.ts +++ b/front/src/Enum/EnvironmentVariable.ts @@ -1,6 +1,12 @@ declare global { interface Window { - waconfig:any; + waconfig: { + START_ROOM_URL: string, + PUSHER_URL: string, + STUN_SERVER: string, + TURN_SERVER: string, + JITSI_URL: string + }; } } diff --git a/front/webpack.config.ts b/front/webpack.config.ts index 7a189911..a6cab1c7 100644 --- a/front/webpack.config.ts +++ b/front/webpack.config.ts @@ -187,7 +187,7 @@ module.exports = { API_URL: null, SKIP_RENDER_OPTIMIZATIONS: false, DISABLE_NOTIFICATIONS: false, - PUSHER_URL: undefined, + PUSHER_URL: null, UPLOADER_URL: null, ADMIN_URL: null, CONTACT_URL: null, diff --git a/messages/package.json b/messages/package.json index 636f4647..a748b95c 100644 --- a/messages/package.json +++ b/messages/package.json @@ -11,6 +11,7 @@ "proto:watch": "yarn run proto-all; inotifywait -q -m -e close_write protos/messages.proto | while read -r filename event; do yarn run proto-all; done" }, "dependencies": { + "console-browserify": "^1.2.0", "google-protobuf": "^3.13.0", "grpc": "^1.24.4" }, diff --git a/messages/yarn.lock b/messages/yarn.lock index 2c9d3000..bc6b7f73 100644 --- a/messages/yarn.lock +++ b/messages/yarn.lock @@ -1039,6 +1039,11 @@ confusing-browser-globals@^1.0.10, confusing-browser-globals@^1.0.9: resolved "https://registry.yarnpkg.com/confusing-browser-globals/-/confusing-browser-globals-1.0.10.tgz#30d1e7f3d1b882b25ec4933d1d1adac353d20a59" integrity sha512-gNld/3lySHwuhaVluJUKLePYirM3QNCKzVxqAdhJII9/WXKVX5PURzMVJspS1jTslSqjeuG4KMVTSouit5YPHA== +console-browserify@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.2.0.tgz#67063cef57ceb6cf4993a2ab3a55840ae8c49336" + integrity sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA== + console-control-strings@^1.0.0, console-control-strings@~1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e"