feat: add request headers to trigger functions (#4012)
* add request headers to trigger functions * reverse changes * add headers in request config and trigger request
This commit is contained in:
committed by
Florent Vilmart
parent
e6cc8204b3
commit
3c79cae1b2
@@ -108,6 +108,7 @@ export function handleParseHeaders(req, res, next) {
|
||||
|
||||
info.app = AppCache.get(info.appId);
|
||||
req.config = new Config(info.appId, mount);
|
||||
req.config.headers = req.headers || {};
|
||||
req.info = info;
|
||||
|
||||
var isMaster = (info.masterKey === req.config.masterKey);
|
||||
|
||||
Reference in New Issue
Block a user