Skip to content

Commit 74de8bc

Browse files
authored
Merge pull request #4234 from processing/ksen0-patch-4
fix: AutoComplete hinter should link to p5js.org for v2, and v1.p5js.org
2 parents 4856a51 + 5beccbf commit 74de8bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • client/modules/IDE/components/Editor

client/modules/IDE/components/Editor/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function getReferenceBaseUrl(htmlFile) {
4747
const isV2 =
4848
/https:\/\/beta\.p5js\.org\b/i.test(html) || /\bp5(@|-)2\./i.test(html);
4949

50-
return isV2 ? 'https://beta.p5js.org' : 'https://p5js.org';
50+
return isV2 ? 'https://p5js.org' : 'https://v1.p5js.org';
5151
}
5252

5353
function Editor({

0 commit comments

Comments
 (0)