The ghost started locally is normal, but the pictures in the project cannot be accessed when started on the server.

start the project locally with npm start-- production, which can be accessed normally.
pm2 is used on the server to manage the previous project handover, so I used NODE_ENV=production pm2 start index.js-- name "ghost" to start the project and tried to access it, but the picture could not be loaded. What is the reason for this? is it not in the right way to start?

Apr.02,2021
Menu