fixes #820, fixes #830, fixes #831 (#841)

This commit is contained in:
Cassie Tarakajian 2019-02-21 17:15:28 -05:00 committed by GitHub
parent e75c98b299
commit ed57e082e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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