diff --git a/server/examples.js b/server/examples.js index d1584b34..658df6fa 100644 --- a/server/examples.js +++ b/server/examples.js @@ -25,17 +25,11 @@ const defaultHTML = const defaultCSS = `html, body { - overflow: hidden; margin: 0; padding: 0; } `; -const a = objectID().toHexString(); -const b = objectID().toHexString(); -const c = objectID().toHexString(); -const r = objectID().toHexString(); - const client_id = process.env.GITHUB_ID; const client_secret = process.env.GITHUB_SECRET; @@ -186,6 +180,10 @@ function createProjectsInP5user(projectsInAllCategories) { async.eachSeries(projectsInAllCategories, (projectsInOneCategory, categoryCallback) => { async.eachSeries(projectsInOneCategory, (project, projectCallback) => { let newProject; + const a = objectID().toHexString(); + const b = objectID().toHexString(); + const c = objectID().toHexString(); + const r = objectID().toHexString(); const noNumberprojectName = project.projectName.replace(/(\d+)/g, ''); if (noNumberprojectName === 'Instance Mode : Instance Container ') { newProject = new Project({