Customize the dashboard / welcome page

There is no way around?

I added the redirector middleware and used to have a patch to the strapi admin in the node modules to have another redirect

diff --git a/node_modules/@strapi/admin/admin/src/pages/HomePage/index.js b/node_modules/@strapi/admin/admin/src/pages/HomePage/index.js
index 21ab701..b706461 100644
--- a/node_modules/@strapi/admin/admin/src/pages/HomePage/index.js
+++ b/node_modules/@strapi/admin/admin/src/pages/HomePage/index.js
@@ -4,7 +4,7 @@
  */
 
 import React, { useMemo } from 'react';
-
+import { Redirect } from 'react-router-dom';
 import { Box, Grid, GridItem, Layout, Main } from '@strapi/design-system';
 import { LoadingIndicatorPage, useGuidedTour } from '@strapi/helper-plugin';
 import { Helmet } from 'react-helmet';
@@ -104,7 +104,7 @@ function HomePageSwitch() {
     return null;
   }
 
-  return <HomePage />;
+  return <Redirect to={'/plugins/dashboard-settings'} />;
 }
 
 export default HomePageSwitch;

used to have this patch to be applied inside the mode modules to fix the logo click case.

but now on 4.25.1 it’s not working.

so is there a new way to have it.

my redirector middleware is

module.exports = (config, { strapi }) => {
  return async (ctx, next) => {
    strapi.log.info("Redirector middleware");
    if (ctx.path === "/") {
      ctx.redirect(strapi.config.get("server.admin.url", "/admin"));
      return next();
    }
    if (ctx.path === "/admin") {
      ctx.redirect(strapi.config.get("server.admin.url", "/admin/plugins/dashboard-settings"));
      return next();
    }
    if (ctx.path === "/admin/") {
      ctx.redirect(strapi.config.get("server.admin.url", "/admin/plugins/dashboard-settings"));
      return next();
    }
    await next();
  };
};