mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-15 07:38:33 +00:00
do not recompile orc
This commit is contained in:
parent
01eca562c5
commit
7a79995727
@ -113,7 +113,9 @@ export async function loadOrc(url) {
|
||||
url = `https://raw.githubusercontent.com/${path}`;
|
||||
}
|
||||
if (!orcCache[url]) {
|
||||
orcCache[url] = await fetch(url).then((res) => res.text());
|
||||
orcCache[url] = fetch(url)
|
||||
.then((res) => res.text())
|
||||
.then((code) => _csound.compileOrc(code));
|
||||
}
|
||||
await _csound.compileOrc(orcCache[url]);
|
||||
await orcCache[url];
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user