We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 828cea1 commit f47d7aeCopy full SHA for f47d7ae
SECURITY.md
@@ -26,7 +26,17 @@ EJS is effectively a JavaScript runtime. Its entire job is to execute JavaScript
26
In short, DO NOT send reports including this snippet of code:
27
28
```javascript
29
+const express = require('express');
30
+const app = express();
31
+const PORT = 3000;
32
+app.set('views', __dirname);
33
+app.set('view engine', 'ejs');
34
+
35
app.get('/', (req, res) => {
36
res.render('index', req.query);
37
});
38
39
+app.listen(PORT, ()=> {
40
+ console.log(`Server is running on ${PORT}`);
41
+});
42
```
0 commit comments