From c0213057a0166f9edb933acb53345247e424639d Mon Sep 17 00:00:00 2001 From: Jim Garrison Date: Tue, 30 Jun 2020 23:04:31 -0400 Subject: [PATCH] Serve lesson media using Cloudflare's ipfs gateway --- assets/ductus/common/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/ductus/common/js/main.js b/assets/ductus/common/js/main.js index 8159b001d1..d3194ab226 100644 --- a/assets/ductus/common/js/main.js +++ b/assets/ductus/common/js/main.js @@ -1,5 +1,5 @@ function gettext(s) { return s; } -var ductus_mediacache_prefix = 'https://wikiotics.github.io/'; +var ductus_mediacache_prefix = 'https://cloudflare-ipfs.com/ipfs/QmPTzBud9tGnVXRnfiS7DPUtsMs4SjhkvcwWo7JGbjwk4i/'; var ductus_mime_to_ext = {"audio/webm": "webma", "audio/mp4": "m4a", "image/jpeg": "jpg", "audio/ogg": "oga", "image/png": "jpg"}; var resource_json = {'resource': data}; var available_audio_formats = {"audio/mp4": ["audio/ogg"], "audio/ogg": ["audio/mp4"]}; /* from ductus.modules.audio.views */