main.js: Corrected the order in which primary config and default configare passed