To serve static files such as images, CSS files, and JavaScript files, a special folder called ______ is commonly used in Express.js.
- public
- assets
- static
- files
To serve static files such as images, CSS files, and JavaScript files, a special folder called the public folder is commonly used in Express.js. This folder typically contains all your publicly accessible static assets.
Loading...
Related Quiz
- What is the significance of the 'backpressure' concept in streams in Node.js?
- What will happen if you try to destructure properties not present in the object?
- What happens to the Event Loop when the callback queue and the task queue are both not empty?
- What is the primary difference between OAuth 1.0 and OAuth 2.0?
- In a token-based authentication system, using a ______ approach helps in reducing the risk of token interception and replay attacks.