NuxtN
Nuxt12mo ago
5 replies
Melinda

How to clear cache for routeRules

Hi, I'm running Nuxt 3.15.2. I added this redirect to my nuxt.config.ts file. It redirects to a server route.

routeRules: {
    "/*/logout": { redirect: { to: "/*/auth/logout", statusCode: 308 } }
  }


Even after deleting this code, the redirect persists. I'm assuming that it is being cached somehow. I am only running this locally at the moment. I don't understand how to remove this redirect.
Was this page helpful?