Y
Y
yankoyski2019-05-17 04:47:36
Node.js
yankoyski, 2019-05-17 04:47:36

What is the function allowedMethods for?

Switched from express to koa with koa-router, where I came across the allowedMethods function. What is she for? When should it be called? When can you do without it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Luzanov, 2019-05-17
@dmitry_luzanov

Everything is written in the readme , with an example of use.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question