remove unused httpPaths from manifest

This commit is contained in:
Girish Ramakrishnan
2021-11-09 21:50:12 -08:00
parent 48b75accdd
commit 68db4524f1
4 changed files with 3 additions and 11 deletions

View File

@@ -565,7 +565,6 @@ async function update(app, args, progressCallback) {
// app does not want these addons anymore
// FIXME: this does not handle option changes (like multipleDatabases)
const unusedAddons = _.omit(app.manifest.addons, Object.keys(updateConfig.manifest.addons));
const httpPathsChanged = app.manifest.httpPaths !== updateConfig.manifest.httpPaths;
const httpPortChanged = app.manifest.httpPort !== updateConfig.manifest.httpPort;
const proxyAuthChanged = !_.isEqual(safe.query(app.manifest, 'addons.proxyAuth'), safe.query(updateConfig.manifest, 'addons.proxyAuth'));
@@ -630,7 +629,7 @@ async function update(app, args, progressCallback) {
await startApp(app);
await progressCallback({ percent: 90, message: 'Configuring reverse proxy' });
if (httpPathsChanged || proxyAuthChanged || httpPortChanged) {
if (proxyAuthChanged || httpPortChanged) {
await reverseProxy.configureApp(app, AuditSource.APPTASK);
}