mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
15 lines
281 B
JavaScript
15 lines
281 B
JavaScript
const express = require("express");
|
|
const helmet = require("helmet");
|
|
|
|
const app = express();
|
|
|
|
app.use(helmet()); // OK - use the defaults
|
|
|
|
app.get("/", (req, res) => {
|
|
res.send("Hello, world!");
|
|
});
|
|
|
|
app.listen(3000, () => {
|
|
console.log("App is listening on port 3000");
|
|
});
|