DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR HTML
express send html file
app.get('/test', function(req, res) { res.sendFile('test.html', {root: __dirname }) });
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#express
#send
#html
#file
ADD COMMENT
Topic
COMMENT
Name
6+5 =
Submit