We have a GastbyJS project that’s hosted on Netlify. We have a netlify.toml configuration file with a lot of redirects and headers set up. An example of one:
[[redirects]]
from = "/dpa"
to = "/legal/dpa"
Is there a way to use this file in local development? I tried searching for an open source Gastby plugin that would apply this file as local middleware (using Gatsby’s onCreateDevServer middleware hook), but couldn’t find one.