Next.js Appwrite “TypeError: Failed to construct ‘URL'” but works when given directly
I am following along an YouTube video by JS Mastery on their HealthCare application using Next.js and Appwrite. I got my API keys from Appwrite cloud and added them to the .env.local file. But when I run my project, I get the following error,