Closed gamtiq closed 7 years ago
It seems there is the following error in request documentation:
const hello = (url, method) => { return "Hello from " + method + " " + url } route.define([ route.get("/", ["method", "url"], hello) ])
I suppose parameters of hello function should be method, url.
hello
method, url
Good catch, thanks. PR welcomed in the future too!
It seems there is the following error in request documentation:
I suppose parameters of
hello
function should bemethod, url
.