Skip to content

Instantly share code, notes, and snippets.

@shiawuen
Created February 5, 2012 10:35
Show Gist options
  • Save shiawuen/1744657 to your computer and use it in GitHub Desktop.
Save shiawuen/1744657 to your computer and use it in GitHub Desktop.
// ....
app.configure(function() {
// ....
app.set('views', __dirname + '/public');
app.set('view options', { layout: false });
app.register('.html', {
compile: function(str, options){
return function(locals){
return str;
};
}
});
// ....
});
// ....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment