For curiousity sake, I replaced the logo_0cc9d9342e387560132e.png with my new logo.png file in this dist/images folder but it’s just a broken image now.
Any ideas?
*PS - If you’re wondering why I am trying to put a white logo on a white header, it is because in the long term, our new header will be dark… *
-I initially posted this on that original thread but then realized our install is Sage 9. not 10. And since it doesn’t have Bud it probably shouldn’t be in the Bud section… My apologies for any double notifications!
Have you run yarn build or yarn build:production? Rebuilding the dist directory will add a new hash to the end of the filename and add a reference to that in the manifest.
So with your response along with the response on the other thread it’s just a matter of running yarn build.
I just that I have to figure out how to do that on a live site. I tried to access the site via an SSH key last night but it did not work. I think that is the right direction though…
oh I get it now. So what you want to do is run yarn build:production locally, then deploy the new dist directory to the production site.
How you do that could vary, but at the simplest, you could use FTP to connect to the server and replace the old dist with the new one you just generated. Instructions are largely the same as the ones for Sage 10, except Sage 9 uses dist instead of public for the directory name. Deploying Sage | Sage Docs | Roots