Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove .html from url express js

app.use(express.static(path.join(__dirname, 'public'),{index:false,extensions:['html']}));
 
PREVIOUS NEXT
Tagged: #remove #url #express #js
ADD COMMENT
Topic
Name
1+9 =