static files in nodejs apostrophe cms

383 Views Asked by At

I am trying to deploy some static files in NodeJs Apostrophe CMS. The css and js ones are ok, as desribed in the documentation.

however, in public folder I copy paste a png file - logo.png - and when I request http://localhost:3000/logo.png I have a 404.

Thanks

1

There are 1 best solutions below

0
On

Glad you figured it out! For those with the same question, this has been answered a few times.

Add static assets to Apostrophe project, specifically images and font files

how to serve static content outside the db?