Answers for "what is app.use(express.static('public')); in express"

C
1

express.static public

app.use('/public', express.static(path.join(__dirname, '../public')))
                                  // use path here
Posted by: Guest on December-30-2021

Code answers related to "what is app.use(express.static('public')); in express"

Code answers related to "C"

Browse Popular Code Answers by Language