Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to use static files in express with ejs

app.use('/public', express.static('public'));
 
PREVIOUS NEXT
Tagged: #static #files #express #ejs
ADD COMMENT
Topic
Name
7+5 =