Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

express.static public

app.use('/public', express.static(path.join(__dirname, '../public')))
                                  // use path here              
Source by expressjs.com #
 
PREVIOUS NEXT
Tagged: #public
ADD COMMENT
Topic
Name
6+7 =