Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

express serve static files

app.use('/', express.static('public'));
Source by expressjs.com #
 
PREVIOUS NEXT
Tagged: #express #serve #static #files
ADD COMMENT
Topic
Name
4+4 =