Skip to content
This repository has been archived by the owner on Jul 31, 2019. It is now read-only.

[#871558] Thimble displaying tutorials made by thimble. #57

Merged
merged 1 commit into from May 17, 2013

Conversation

ScottDowne
Copy link
Contributor

No description provided.

@@ -51,7 +51,8 @@ if (env.get("NODE_ENV") === "development") {
app.get('/', function(req, res) {
res.render('index.html', {
appURL: env.get("HOSTNAME"),
HTTP_STATIC_URL: ''
HTTP_STATIC_URL: '',
MAKE_ENDPOINT: env.get("MAKE").endpoint
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's cache this value up top, and then refer to the cache var instead so we don't call env.get more than once

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants