Skip to content

Commit

Permalink
Add options verb to node12 template, so a function implementation in …
Browse files Browse the repository at this point in the history
…handler.js can implement custom response behavior

Signed-off-by: Jeremias Bosch <jeremias.bosch@basyskom.com>
  • Loading branch information
jebos authored and alexellis committed Oct 14, 2020
1 parent b4d496b commit 3b4f9eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions template/node12/index.js
Expand Up @@ -103,6 +103,7 @@ app.get('/*', middleware);
app.patch('/*', middleware);
app.put('/*', middleware);
app.delete('/*', middleware);
app.options('/*', middleware);

const port = process.env.http_port || 3000;

Expand Down

0 comments on commit 3b4f9eb

Please sign in to comment.