Skip to content

Commit f47d7ae

Browse files
authoredMar 27, 2023
Update SECURITY.md
1 parent 828cea1 commit f47d7ae

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
 

‎SECURITY.md

+10
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,17 @@ EJS is effectively a JavaScript runtime. Its entire job is to execute JavaScript
2626
In short, DO NOT send reports including this snippet of code:
2727

2828
```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+
2935
app.get('/', (req, res) => {
3036
res.render('index', req.query);
3137
});
38+
39+
app.listen(PORT, ()=> {
40+
console.log(`Server is running on ${PORT}`);
41+
});
3242
```

0 commit comments

Comments
 (0)
Please sign in to comment.