Skip to content

Commit

Permalink
Serve lesson media using Cloudflare's ipfs gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
garrison committed Jul 2, 2020
1 parent f12ba26 commit c021305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/ductus/common/js/main.js
Original file line number Diff line number Diff line change
@@ -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 */
Expand Down

0 comments on commit c021305

Please sign in to comment.