From 10d3fe70cf223199c221d6cfacdf343de265a582 Mon Sep 17 00:00:00 2001 From: Alexander Zellober Date: Fri, 8 Oct 2021 15:37:05 +0200 Subject: [PATCH] remove CQRS Bridged from HTML-Presentation-Export --- .../features/export/storyDownload.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/app/domain-story-modeler/features/export/storyDownload.js b/app/domain-story-modeler/features/export/storyDownload.js index d03e1e7b..0a12b5ea 100644 --- a/app/domain-story-modeler/features/export/storyDownload.js +++ b/app/domain-story-modeler/features/export/storyDownload.js @@ -13,9 +13,6 @@ import { editMode, presentationMode, showCurrentStep } from '../replay/replayFun let canvas; let selection; -let multiplexSecret; -let multiplexId; - let replayOn = false; let currentStep = 0; let replaySteps = []; @@ -32,12 +29,6 @@ export function initStoryDownload(inCanvas, inSelection, modeler) { canvas = inCanvas; selection = inSelection; dsModeler = modeler; - - // cors.bridged.cc is a CORS ANYWHERE server. For details: https://blog.bridged.xyz/cors-anywhere-for-everyone-free-reliable-cors-proxy-service-73507192714e - fetch('https://cors.bridged.cc/https://reveal-multiplex.glitch.me/token', { headers: { 'x-requested-with':'XMLHttpRequest' } }).then(res => res.json()).then((out) => { - multiplexSecret=out.secret; - multiplexId=out.socketId; - }).catch(err => console.error(err)); } export async function downloadStory(filename) { @@ -74,8 +65,6 @@ export async function downloadStory(filename) { revealjsData.title = document.getElementById('title').innerHTML; revealjsData.description = document.getElementById('infoText').innerHTML; revealjsData.sentences = svgData; - revealjsData.multiplexSecret = multiplexSecret; - revealjsData.multiplexId = multiplexId; let element; element = document.createElement('a'); element.setAttribute(