Note: Starting from version 23.500.0, the router is connected via the method \Bitrix\Main\Application::getRouter().
Configuration
Files with route configuration are located in the folders /bitrix/routes/ and /local/routes/. Connected file must be described in its
.settings.php
Bitrix Framework has several specific kernel settings without visual edit UI. This is done to prevent errors and setting update easily causing system crashes (database connection settings, caching settings and etc.).