Skip to content

Commit

Permalink
updated index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
arvention committed Mar 30, 2020
1 parent 62f2396 commit 1333eca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ app.set('view engine', 'hbs');
// sets `/views/partials` as folder containing partial hbs files
hbs.registerPartials(__dirname + '/views/partials');

// parses incoming requests with urlencoded payloads
app.use(express.urlencoded({extended: true}));

// set the folder `public` as folder containing static assets
Expand Down

0 comments on commit 1333eca

Please sign in to comment.