Note that for simple use cases, one can do things like:
app.get('/',(req,res)=>res.set('content-type','text/html').end(`
<h1>It works!</h1>
<p>You can send your HTML string in via ES6 template strings!</p>
<p>Node version: ${process.versions.node}</p>
`))
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I second
pug/jade.Note that for simple use cases, one can do things like: