google / pull-request-mailer

Sends a GitHub pull request as a patch series via email
BSD 3-Clause "New" or "Revised" License
44 stars 15 forks source link

Switch scotty to production mode. Fixes #5. #17

Closed nh2 closed 10 years ago

nh2 commented 10 years ago

From http://hackage.haskell.org/package/scotty-0.9.0/docs/Web-Scotty.html

"Scotty is set up by default for development mode. For production servers, you will likely want to modify settings and the defaultHandler. "

We don't care about the "FD cache duration" mentioned in settings, but we do want to add defaultHandler to not expose the contents of IOExceptions to clients.

ppetr commented 10 years ago

LGTM