1
0
mirror of synced 2026-01-06 15:01:04 -05:00
Commit Graph

3 Commits

Author SHA1 Message Date
Sarah Schneider
6fb35aae8d Fix local dev TOC (#20253)
* refactor dev-toc middleware to use new site tree

* refactor dev-toc layout to use new site tree (we can move this to React someday if we want)
2021-07-01 10:05:18 -05:00
James M. Greene
c940dcd98b Middleware overhaul! (#18218)
* Middleware overhaul!

- Remove unnecessary 'async' keywords from middleware functions
- Ensure all middleware functions we create have names
- Wrap the method contents of all async middleware functions in a try-catch+next(error) pattern

* Use asyncMiddleware wrapper instead of try-catch+next(error) pattern

* Remove unnecessary try-catch+next(error) pattern from context middleware
2021-03-11 01:12:41 +00:00
Sarah Schneider
0df213dea6 add the barest minimal dev-toc 2020-11-13 14:31:59 -05:00