My strapi breaks image links everytime I make changes locally and redeploy to digitalocean app platform

System Information
  • Strapi Version:
  • Operating System:
    Windows 10 and Ubuntu
  • Database:
    Sqlite locally and posgres on deployment
  • Node Version:
    locally 18 on app platform its 16.x
  • NPM Version:
    not sure
  • Yarn Version:
    not sure

So I have made a strapi install locally. I managed to deploy it to digitalocean app platform. There I managed to set production env variables. Now I had forgot to create a slug and when I went back locally to add this and redeploy, all the blog articles had broken image links. Help!