[#1473] Update master to main in examples.js

- Update CDN URL links for assets on p5.js website
This commit is contained in:
Cassie Tarakajian 2020-06-29 18:28:24 -04:00
parent d17feadd61
commit 0346784920

View file

@ -264,7 +264,7 @@ function createProjectsInP5user(projectsInAllCategories) {
const fileID = objectID().toHexString();
newProject.files.push({
name: assetName,
url: `https://cdn.jsdelivr.net/gh/processing/p5.js-website@master/src/data/examples/assets/${assetName}`,
url: `https://cdn.jsdelivr.net/gh/processing/p5.js-website@main/src/data/examples/assets/${assetName}`,
id: fileID,
_id: fileID,
children: [],