Michael Draper

Results 23 comments of Michael Draper

Check out github.com/rileyr/middleware It really helped with chaining middleware with httprouter

Will this work with 1.4 branches before 1.4.7?

My hats off to you for an awesome piece of software though, man. Can't wait to implement it. I was playing around with the plunkr and it looks like 1.4...

Did that fix the problem? If not, what can I do to fix this? It's making my OCD twitch.

I'm having an issue with ALL child routes behind an nginx proxy. Here is my simple nginx conf file: server { listen 80; server_name localhost; location / { try_files $uri...

Ok, so after some fiddling I restarted oni entirely and the browser worked as I would expect it. Unfortunately I need to get more steps to replicate the state I...

Actually the documentation is rather cryptic. Specifically: `hash_pwd_salt(password, opts)` What is `opts` ? No examples are given, and all of the online examples use a previous API which is incompatible....

The main idea behind a Bearer token is that the client holds the authorization. There is no reason that the server should store this whatsoever. As long as server A...

If I have to define a route for OPTIONS, it really limits the usefulness of the library. I wrote a middleware function to do the cors that seems to be...

Yep that is EXACTLY what was wrong. My feedback here would be: Since disallowed origins are returned with a 403, I would suggest if Origin is not present to return...