Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(file-sharing) don't pass token for downloads
Saúl Ibarra Corretgé3be2a2d6076f
diff --git a/react/features/file-sharing/middleware.web.ts b/react/features/file-sharing/middleware.web.tsindex 7b0acf4cbf..84505e0ee1 100644--- a/react/features/file-sharing/middleware.web.ts+++ b/react/features/file-sharing/middleware.web.ts@@ -150,14 +150,12 @@ MiddlewareRegistry.register(store => next => action => {case DOWNLOAD_FILE: {const state = store.getState();const { fileSharing } = state['features/base/config'];- const { jwt } = state['features/base/jwt'];const conference = getCurrentConference(state);const sessionId = conference?.getMeetingUniqueId();fetch(`${fileSharing!.apiUrl!}/sessions/${sessionId}/document`, {method: 'GET',headers: {- ...jwt && { 'Authorization': `Bearer ${jwt}` },'X-File-Id': action.fileId,}})