diff --git a/src/core/index.js b/src/core/index.js index c5235360..daef0111 100644 --- a/src/core/index.js +++ b/src/core/index.js @@ -81,7 +81,7 @@ module.exports = function SwaggerUI(opts) { } let localConfig = system.specSelectors.getLocalConfig ? system.specSelectors.getLocalConfig() : {} - let mergedConfig = deepExtend({}, constructorConfig, localConfig, fetchedConfig || {}, queryConfig) + let mergedConfig = deepExtend({}, localConfig, constructorConfig, fetchedConfig || {}, queryConfig) store.setConfigs(filterConfigs(mergedConfig)) if (fetchedConfig !== null) {