Passed server.env to locals.