Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

what is express static

The express. static() function is a built-in middleware function in Express. It serves static files and is based on serve-static. Syntax: express.static(root, [options]) Parameters: The root parameter describes the root directory from which to serve static assets
Source by expressjs.com #
 
PREVIOUS NEXT
Tagged: #express #static
ADD COMMENT
Topic
Name
4+5 =