update docs

This commit is contained in:
Harvey Zack committed 2022-04-29 23:22:00 +08:00
1 parent 4dcdda0089
commit 8a1546f9dd
94 files changed
+255 -263

No files matched your search

@@ -5,7 +5,7 @@ document.addEventListener('click', (event) => {
if (codeElement) {
const libs = event.target.dataset.libs || '';
const code = encodeURIComponent(codeElement.innerText);
const env = window.location.host.includes('localhost') ? 'http://localhost:8080' : 'https://artplayer.org';
const env = window.location.host.includes('localhost') ? 'http://localhost:8081' : 'https://artplayer.org';
const url = env + '/?libs=' + libs + '&code=' + code;
window.open(url);
}