6 Commits (59f3ae201aca9a73ef6296a38df12b75aa2ff0de)

Author SHA1 Message Date
Julian Lam 38ca73c493 fix(security): explicitly declare cache-control header instead of using middleware
This commit reverts 1f6f389ff2
3 years ago
Julian Lam 1f6f389ff2 fix(security): cache-control on all pages using setupPageRoute or setupApiRoute, and 404 controllers.
This commit also reverts e39cdd490b
3 years ago
Barış Soner Uşaklı 24c1f879a5 test: fix middleware test 3 years ago
Julian Lam 6c07433dea
refactor: use routePrefixMap instead of routeRegexpMap, +tests (#10035)
* refactor: use routePrefixMap instead of routeRegexpMap, +tests

Currently tests fail because privilege pages resolve if passed garbage... hmm

* fix: priv check paths

remove /v3 from path as well

Co-authored-by: Barış Soner Uşaklı <[email protected]>
3 years ago
Barış Soner Uşaklı d7c32ccbc2 test: remove log 3 years ago
Barış Soner Uşaklı 29b3587d91 test: middleware/expose.js 3 years ago