move routes settings in routeconfig.js file