Functions problems

@shadowgaming-backup It may not be your issue as I’ve only taken a quick glance, but one thing I see is that you’re treating the configuration for Vercel and Netlify perhaps too similar.

Netlify Rule:

/:iconSlug/:color?/:darkModeColor?/ /api/index 200

Vercel Rule:

{
  "source": "/:iconSlug/:color?/:darkModeColor?",
  "destination": "/api"
}

I’m presuming the ? is Regex since Vercel’s rewrites support it.

Netlify’s rewrites do not.