User Tools

Site Tools


nodejs:static-assets

Using static assets like images, css, js files with NodeJS

Let us assume that you are running your app as /app1 , either all assets can be handled by your NodeJS app or the various static assets like images, css, js etc., can be placed under the VHost’s/Website’s folder i.e. /home/{username}/{vhost}_public_html/app1 .

If you were running your app as / or as website root, then all assets should be placed under /home/{username}/vhost_public_html

nodejs/static-assets.txt · Last modified: 2024/04/06 03:12 by kirtisingh

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki