(req, res, next)
| 26 | } |
| 27 | |
| 28 | export function setDefaultFastlySurrogateKey(req, res, next) { |
| 29 | res.set(KEY, `${SURROGATE_ENUMS.DEFAULT} ${makeLanguageSurrogateKey()}`) |
| 30 | return next() |
| 31 | } |
| 32 | |
| 33 | export function setLanguageFastlySurrogateKey(req, res, next) { |
| 34 | res.set(KEY, `${SURROGATE_ENUMS.DEFAULT} ${makeLanguageSurrogateKey(req.language)}`) |
no test coverage detected