From b7d7d39832a27473d86f1c178612795a1b2dfd6a Mon Sep 17 00:00:00 2001 From: kit <1304340+ksen0@users.noreply.github.com> Date: Fri, 31 Jul 2026 18:05:15 +0200 Subject: [PATCH 1/3] Update index.jsx Fixes https://github.com/processing/p5.js-web-editor/issues/4233 --- client/modules/IDE/components/Editor/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/modules/IDE/components/Editor/index.jsx b/client/modules/IDE/components/Editor/index.jsx index 11e443374d..c359c52303 100644 --- a/client/modules/IDE/components/Editor/index.jsx +++ b/client/modules/IDE/components/Editor/index.jsx @@ -47,7 +47,7 @@ export function getReferenceBaseUrl(htmlFile) { const isV2 = /https:\/\/beta\.p5js\.org\b/i.test(html) || /\bp5(@|-)2\./i.test(html); - return isV2 ? 'https://beta.p5js.org' : 'https://p5js.org'; + return isV2 ? 'https://p5js.org' : 'https://v1.p5js.org'; } function Editor({ From 9f254eca15e92b241de654b86767d727d26f55bf Mon Sep 17 00:00:00 2001 From: kit <1304340+ksen0@users.noreply.github.com> Date: Fri, 31 Jul 2026 18:08:38 +0200 Subject: [PATCH 2/3] Update URLs for p5.js version references --- server/scripts/update-p5-hinter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/scripts/update-p5-hinter.js b/server/scripts/update-p5-hinter.js index 71ac49c8f3..68c0858fcc 100644 --- a/server/scripts/update-p5-hinter.js +++ b/server/scripts/update-p5-hinter.js @@ -5,11 +5,11 @@ const axios = require('axios'); const VERSIONS = [ { version: 'v1', - url: 'https://v1.p5js.org/reference/data.json' + url: 'https://p5js.org/reference/data.json' }, { version: 'v2', - url: 'https://p5js.org/reference/data.json' + url: 'https://beta.p5js.org/reference/data.json' } ]; From 8c57a2c8e7d598bde7f08f23d54e989d23cdff1e Mon Sep 17 00:00:00 2001 From: kit <1304340+ksen0@users.noreply.github.com> Date: Thu, 6 Aug 2026 01:18:46 +0200 Subject: [PATCH 3/3] Update URLs for p5.js versions in update-p5-hinter.js --- server/scripts/update-p5-hinter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/scripts/update-p5-hinter.js b/server/scripts/update-p5-hinter.js index 68c0858fcc..71ac49c8f3 100644 --- a/server/scripts/update-p5-hinter.js +++ b/server/scripts/update-p5-hinter.js @@ -5,11 +5,11 @@ const axios = require('axios'); const VERSIONS = [ { version: 'v1', - url: 'https://p5js.org/reference/data.json' + url: 'https://v1.p5js.org/reference/data.json' }, { version: 'v2', - url: 'https://beta.p5js.org/reference/data.json' + url: 'https://p5js.org/reference/data.json' } ];