my next js websites depends on the next js apis which fetch data from a local json file.
I'm using getStaticPaths to pre-generate pages. The problem is that it only supports the absolute path which works fine in development mode with "http://lockhost:3000" but its throwing errors when i deploy on vercel.

Now how do i fix this error and get the absolute deployment url? i tested the api with local host its send the data without any problem
