Image url in Reach text blog after transferring from localhost to digital ocean stay "localhost"(image in library is good)

Hello, I get an error similar to this error but in the /upload path, can you help me if you can solve it,

By the way, it seems that the solution to your error can be fixed by setting cors and csp in strapi config/middleware.ts file