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:
Muhammad Ibrahim
2025-11-16 22:50:41 +00:00
parent 8df6ca2342
commit 539bbb7fbc
24 changed files with 918 additions and 200 deletions

View File

@@ -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({