Skip to content

Commit

Permalink
[bug] Change win-ca inject mode to experimental; For bug 70962
Browse files Browse the repository at this point in the history
  • Loading branch information
konovalovsergey committed Oct 17, 2024
1 parent 42cf66d commit c5eb199
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Common/config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@
"getChanges": {
}
},
"win-ca": {
"inject": "+"
},
"wopi": {
"enable": false,
"host" : "",
Expand Down
7 changes: 3 additions & 4 deletions Common/sources/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ const https = require('https');
const ca = require('win-ca/api');
const util = require('util');

if(!ca.disabled) {
ca({inject: true});
}

const contentDisposition = require('content-disposition');
const operationContext = require("./operationContext");

Expand All @@ -86,6 +82,9 @@ const cfgRequesFilteringAgent = config.get('services.CoAuthoring.request-filteri
const cfgStorageExternalHost = config.get('storage.externalHost');
const cfgExternalRequestDirectIfIn = config.get('externalRequest.directIfIn');
const cfgExternalRequestAction = config.get('externalRequest.action');
const cfgWinCa = config.get('win-ca');

ca(cfgWinCa);

const minimumIterationsByteLength = 4;
const dnscache = getDnsCache(cfgDnsCache);
Expand Down

0 comments on commit c5eb199

Please sign in to comment.