Offirmo/domain-middleware — pull request #6 by Offirmo (2014-09-26 23:37:39+00:00)
Title: Add d to res.locals so can be accessed elsewhere

pick feature from HabitRPG fork

https://github.com/HabitRPG/domain-middleware