local testing comments

This commit is contained in:
Felix Roos
2022-05-04 22:03:09 +02:00
parent 8034eb14b6
commit 8b4af5ce9d
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -7,6 +7,7 @@ class Strudel extends HTMLElement {
const code = (this.innerHTML + '').replace('<!--', '').replace('-->', '').trim();
const iframe = document.createElement('iframe');
const src = `https://strudel.tidalcycles.org/#${encodeURIComponent(btoa(code))}`;
// const src = `http://localhost:3000/#${encodeURIComponent(btoa(code))}`;
iframe.setAttribute('src', src);
iframe.setAttribute('width', '600');
iframe.setAttribute('height', '400');