mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2025-11-21 06:58:20 +00:00
added reboot required flag
added kernel running/installed version Added dasboard card and filteres for reboot fixed security qty updated on dnf
This commit is contained in:
@@ -11,6 +11,12 @@ const app = express();
|
||||
const PORT = process.env.PORT || 3000;
|
||||
const BACKEND_URL = process.env.BACKEND_URL || "http://backend:3001";
|
||||
|
||||
// Add security headers to prevent search engine indexing
|
||||
app.use((_req, res, next) => {
|
||||
res.setHeader("X-Robots-Tag", "noindex, nofollow, noarchive, nosnippet");
|
||||
next();
|
||||
});
|
||||
|
||||
// Enable CORS for API calls
|
||||
app.use(
|
||||
cors({
|
||||
|
||||
Reference in New Issue
Block a user