public static function getRoutesFromSettings(array $settings): array{
        $routes = [];
        foreach ($settings['routing'] as $method => $urls) {
            if (!isset($routes[$method])) {
                $routes[$method] = [];
            }
            foreach ($urls as $url) {
                array_push($routes[$method], (array)$url);
            }
        }
        return $routes;
    }