From f47d7aedd51a983e4f73045f962b1209096b5800 Mon Sep 17 00:00:00 2001 From: Matthew Eernisse Date: Mon, 27 Mar 2023 11:04:48 -0700 Subject: [PATCH] Update SECURITY.md --- SECURITY.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/SECURITY.md b/SECURITY.md index ece64439..0011b240 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -26,7 +26,17 @@ EJS is effectively a JavaScript runtime. Its entire job is to execute JavaScript In short, DO NOT send reports including this snippet of code: ```javascript +const express = require('express'); +const app = express(); +const PORT = 3000; +app.set('views', __dirname); +app.set('view engine', 'ejs'); + app.get('/', (req, res) => { res.render('index', req.query); }); + +app.listen(PORT, ()=> { + console.log(`Server is running on ${PORT}`); +}); ```