Opening a static HTML file from another folder inside Public does not load the css and js files.

26 views
Skip to first unread message

Rafael Dela Cruz

unread,
Apr 26, 2020, 2:15:38 AM4/26/20
to Firebase Google Group
My Index.html is inside my Public folder and inside that I got multiple folders like Assets where my CSS and JS is located and another folder named Portfolio where another HTML file is located but I'm having problem when it is loaded in the browser. I'm getting error 404 says CSS and JS files is not loaded. 
But when I moved the HTML file inside the Portfolio in the Root folder Public where my Index.html is located all static files located in Assets is loaded properly.
Reply all
Reply to author
Forward
0 new messages