Possibly a dumb mistake on my part, but I just created a new Netlify function and wanted to make an alias. I did this:
/.netlify/functions/getPageViews /api/getPageViews
This creates an error:
Could not parse redirect number 120:
{"from":"/.netlify/functions/getPageViews","query":{},"to":"/api/getPageViews","conditions":{}}
"path" field must not start with "/.netlify"
I can’t make an alias for serverless functions?