Images load locally but not when deployed to either Vercel
Unanswered
West African Lion posted this in #help-forum
West African LionOP
Just like the title says, locally, everything works as expected, and the project is complete, but when I deploy, images fail to load from
This project is due Monday and I'm slightly (a lot) freaking out, so any help would be VERY appreciated!
I tried looking at other people talking about similar issues, but couldn't find a solution. Could this be related to my website using SQLite vs other DBs?
Here is the Vercel deployment:
https://mpmachining.vercel.app/
This is the address I'm getting the 404:
PyaloadCMS
. The rest of the website content comes from Payload as well, and it works fine.This project is due Monday and I'm slightly (a lot) freaking out, so any help would be VERY appreciated!
I tried looking at other people talking about similar issues, but couldn't find a solution. Could this be related to my website using SQLite vs other DBs?
Here is the Vercel deployment:
https://mpmachining.vercel.app/
This is the address I'm getting the 404:
https://mpmachining.vercel.app/_next/image?url=%2Fapi%2Fmedia%2Ffile%2Fmachine-tool-operating.jpg&w=1080&q=75
7 Replies
Sqlite won't work @West African Lion
Sqlite is a file based db
Vercel only allows read only access
Not write
Instead host sqlite on a vps or smthn
Or use mongo and host that
We used mongo for our payload website