Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Temporary fix on 2.0 reference assets URLs
  • Loading branch information
ksen0 committed Apr 18, 2025
commit 5531760eb27de9244d11a3705f92a7dd49f0a61b
2 changes: 1 addition & 1 deletion src/content/reference/en/p5.Font/textToContours.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ example:

async function setup() {
createCanvas(100, 100);
font = await loadFont('//assets/inconsolata.otf');
font = await loadFont('/assets/inconsolata.otf');
}

function draw() {
Expand Down
2 changes: 1 addition & 1 deletion src/content/reference/en/p5/vertex.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ example:
let vid;
function setup() {
// Load a video and create a p5.MediaElement object.
vid = createVideo('//assets/fingers.mov');
vid = createVideo('/assets/fingers.mov');
createCanvas(100, 100, WEBGL);

// Hide the video.
Expand Down