mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
JS: Move an alert and add RelatedLocations
This commit is contained in:
@@ -4,9 +4,9 @@ const helmet = require("helmet");
|
||||
const app = express();
|
||||
|
||||
app.use(helmet({
|
||||
contentSecurityPolicy: false, // $ Alert - switch off default CSP
|
||||
frameguard: false // $ Alert - switch off default frameguard
|
||||
}));
|
||||
contentSecurityPolicy: false, // $ RelatedLocation - switch off default CSP
|
||||
frameguard: false // $ RelatedLocation - switch off default frameguard
|
||||
})); // $ Alert
|
||||
|
||||
app.get("/", (req, res) => {
|
||||
res.send("Hello, world!");
|
||||
|
||||
Reference in New Issue
Block a user