Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

access to static file nodejs


app.use(express.static(`${__dirname}/assets`))

Source by devarama.com #
 
PREVIOUS NEXT
Tagged: #access #static #file #nodejs
ADD COMMENT
Topic
Name
5+2 =