Thanks for pointing this out @theSdev! I updated the repo, Gist, and post on my site.
If I could figure out how to edit previous posts in this forum, I’d do the same there, but:
module.exports = (config, { strapi }) => {
const redirects = ["/", "/index.html", "/admin", "/admin/"].map((path) => ({
method: "GET",
path,
handler: (ctx) => ctx.redirect("/admin/plugins/[YOUR-PLUGIN-NAME]"),
config: { auth: false },
}));
strapi.server.routes(redirects);
};