Issue with 'Failed to construct 'URL': Invalid URL' after moving to production
- 0
- General
- Auth
- Cloud
Hi, I recently deployed my app into production but have discovered an issue. When I try and login, I just get the error Failed to construct 'URL': Invalid URL.
Now, I've created the platform and have set the hostname to be that of the production URL. Furthermore, I realised that my .env.local file which contains the api route, project Id, database Ids and collection Ids was not on production. So, I added the values to Vercel but I'm still getting the same error.
Any ideas?
Here's the variables and how I'm accessing them in my code:
Thank you!
Recommended threads
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- ISO help
I’m writing a project specification paper. Please let me know if anyone has ISO/IEC/IEEE 29148:2018 — Requirements Engineering, or if someone can check the docu...
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?