add printing project name for debugging
This commit is contained in:
parent
6abaf99899
commit
ad269d60c6
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ let client = s3.createClient({
|
||||||
|
|
||||||
Project.find({}, (err, projects) => {
|
Project.find({}, (err, projects) => {
|
||||||
projects.forEach((project, projectIndex) => {
|
projects.forEach((project, projectIndex) => {
|
||||||
|
console.log(project.name);
|
||||||
project.files.forEach((file, fileIndex) => {
|
project.files.forEach((file, fileIndex) => {
|
||||||
if (file.url && file.url.includes('p5.js-webeditor')) {
|
if (file.url && file.url.includes('p5.js-webeditor')) {
|
||||||
file.url = file.url.replace('p5.js-webeditor', process.env.S3_BUCKET);
|
file.url = file.url.replace('p5.js-webeditor', process.env.S3_BUCKET);
|
||||||
|
|
Loading…
Reference in a new issue