- Strapi Version: 4.6.0
- Operating System: Windows
- Node Version: 14.21.2
- NPM Version: 6.14.17
- Yarn Version: 1.22.19
My strapi content displays correctly in development mode. But when I launch my server in production mode, all my content disappears. I dont see my texts and images. I see only the collection field I created and an empty content manager. I still see the name of my content manager though.
Here is the code I use to lauch production mode on my local machine:
$env:ENV_PATH = "./.env.production"
$env:NODE_ENV = "production"
Even after I push to github and deploy on Railway and open the domain given by railway, I still see none of my content.
I would have uploaded images but I am a new user