2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01:00

update monit

This commit is contained in:
kev
2014-12-30 11:31:19 +08:00
parent 1500fd5f61
commit 6b7083504f
8 changed files with 46 additions and 24 deletions

View File

@@ -14,7 +14,7 @@ var setDefaults = function(req) {
req.isDebug = checkBoolean('isDebug', req.isDebug, false);
req.loadImages = checkBoolean('loadImages', req.loadImages, false);
req.outputAsJson = checkBoolean('outputAsJson', req.outputAsJson, true); //FIXME: it is ignored
req.requestId = checkString('requestId', req.requestId, utils.guid());
req.requestId = checkString('requestId', utils.guid()); // ignore user input
req.requestType = checkString('requestType', req.requestType, 'text');
req.resourceUrlBlacklist = checkArray('resourceUrlBlacklist', req.resourceUrlBlacklist, []); //HINT: set it to ['.*\.css.*'] to block stylesheet
req.resourceUrlWhitelist = checkArray('resourceUrlWhitelist', req.resourceUrlWhitelist, []); //FIXME: not implemented