Skip to content

Commit

Permalink
Fix 599: use path.join instead of string concatenation (#601)
Browse files Browse the repository at this point in the history
  • Loading branch information
doug-wade authored and gigabo committed Aug 22, 2016
1 parent afd0d4a commit db55f26
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
const path = require('path');

module.exports = {
routes: {
HelloWorld: {
path: ['/'],
method: 'get',
page: './pages/hello-world',
page: path.join('.', 'pages', 'hello-world'),
},
},
};

0 comments on commit db55f26

Please sign in to comment.