Skip to content

Commit

Permalink
examples: fix path join in ejs example
Browse files Browse the repository at this point in the history
fixes #3382
closes #3383
closes #3385
  • Loading branch information
Hung HOANG authored and dougwilson committed Aug 4, 2017
1 parent b2af101 commit daf66be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ejs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ app.set('views', path.join(__dirname, 'views'));

// Path to our public directory

app.use(express.static(path.join(__dirname + 'public')));
app.use(express.static(path.join(__dirname, 'public')));

// Without this you would need to
// supply the extension to res.render()
Expand Down

0 comments on commit daf66be

Please sign in to comment.