fleet(tower): 0.18 — Tasks-View (Spool/Dead-Letter/Alarm) + Task-Detail-Modal + /healthz + /api/status; Fleet-Views 0.13-0.18 erstmals versioniert

This commit is contained in:
Hermes CEO
2026-10-30 04:55:35 +00:00
parent fa3d5d0a8f
commit 9e94512214
33 changed files with 3498 additions and 3 deletions
+18
View File
@@ -1,6 +1,24 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
serverExternalPackages: ["ssh2"],
async headers() {
return [
{
// Tower-Security §4: CSP ohne externe URLs, kein Framing, kein Sniffing.
source: "/(.*)",
headers: [
{ key: "Content-Security-Policy", value: "default-src 'self'; frame-ancestors 'none'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; connect-src 'self'" },
{ key: "X-Content-Type-Options", value: "nosniff" },
{ key: "Referrer-Policy", value: "no-referrer" },
],
},
{
// Live-Daten + Owner-Kanaele: nichts in Proxies/Caches (§4.4).
source: "/api/fleet/:path*",
headers: [{ key: "Cache-Control", value: "no-store" }],
},
]
},
}
export default nextConfig