Skip to content

Commit

Permalink
update for new VSA again
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Apr 29, 2024
1 parent 03d2653 commit 5dcbe3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/visualizers/effects/VSAEffect.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ export default class VSAEffect {
this.pendingUrl = undefined;
this.compiling = true;
const mungedUrl = url.includes('vertexshaderart.com')
? `${url.replace('//www.', '//')}/art.json`
? `${url}/art.json`
: url;
const req = await fetch(mungedUrl);
const vsa = await req.json();
Expand Down

0 comments on commit 5dcbe3f

Please sign in to comment.