Kevin Powell - CommunityKP-C
Kevin Powell - Community5mo ago
3 replies
Faker

Static files and Public folder

Hello, I have a question. I know that static files are files that aren't going to change in our back-end, like css files.

Now, the purpose of the public folder is to "host" these static files so that anyone can access them?
In express.js, we explicitly need to use a middleware to do that, I didn't understand why though, I mean does this bring? Automatic MIME types?
Was this page helpful?