I have a Netlify function for refreshing an access token and it’s needed in a couple of scenarios. I’d prefer to handle the different scenarios in separate Netlify functions. As in, different function files, then call the
refresh function when it’s needed.
I’m sure this is possible but I can’t get past a 404 error. I’ve tried a few but I’m expecting this to be fine:
`const refreshFunctionUrl = ‘/.netlify/functions/refresh’