diff --git a/server/examples-gg-latest.js b/server/examples-gg-latest.js
index 10861905..5957a669 100644
--- a/server/examples-gg-latest.js
+++ b/server/examples-gg-latest.js
@@ -10,6 +10,12 @@ import Project from './models/project';
// TODO: change to true when testing!
const testMake = false;
+// TODO: Change branchName if necessary
+const branchName = 'master';
+const branchRef = `?ref=${branchName}`;
+const clientId = process.env.GITHUB_ID;
+const clientSecret = process.env.GITHUB_SECRET;
+
const defaultHTML =
`
@@ -20,7 +26,7 @@ const defaultHTML =
-
+
@@ -54,12 +60,6 @@ canvas {
}
`;
-// TODO: Change branchName if necessary
-const branchName = 'gg4editor';
-const branchRef = `?ref=${branchName}`;
-const clientId = process.env.GITHUB_ID;
-const clientSecret = process.env.GITHUB_SECRET;
-
const headers = { 'User-Agent': 'p5js-web-editor/0.0.1' };
mongoose.connect(process.env.MONGO_URL);
@@ -68,7 +68,6 @@ mongoose.connection.on('error', () => {
process.exit(1);
});
-
/* --- Helper functions --- */
const flatten = function flatten(list) {
return list.reduce((a, b) => a.concat(Array.isArray(b) ? flatten(b) : b), []);