Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to access res.locals in express

//example: 
//set res.locals.company in to middleware 
// just use "company" for accessing the "res.locals.company" value. 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #access #express
ADD COMMENT
Topic
Name
5+2 =