diff options
| author | yo mama <pepper@scannerjammer.com> | 2014-12-05 19:17:43 -0800 |
|---|---|---|
| committer | yo mama <pepper@scannerjammer.com> | 2014-12-05 19:17:43 -0800 |
| commit | e387304922f6379cebebaaa511c608855d8acba1 (patch) | |
| tree | 80b1e72d70ca2fd09b8dad239fbdb994f440cc64 /bin/app.js | |
| parent | 802bbc5a0e49a627ab8001d5b30509688959f06b (diff) | |
added branch ejsejs
Diffstat (limited to 'bin/app.js')
| -rwxr-xr-x | bin/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -21,8 +21,8 @@ app.use(express.static('../public/vendor')); //app.use(express.favicon(__dirname + '/public/images/shortcut-icon.png'));
//app.use(messages());
-app.set('view engine', 'html');
-app.set('views', __dirname + '/views');
+app.set('view engine', 'ejs');
+app.set('views', 'views');
// view caching
app.set('view cache', false);
|
