fix: Bug fixed für alle Seiten und das Profil und label
Backend Image / build-and-push (push) Successful in 2m44s
Frontend Image / build-and-push (push) Successful in 2m47s

This commit is contained in:
Nick Szaunig committed 2026-08-27 15:15:55 +02:00
1 parent 133edcd5ba
commit 0a52b29c57
52 files changed
+1290 -129

No files matched your search

+13
View File
@@ -2,6 +2,19 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: "standalone",
async headers() {
return [
{
// Browsers are supposed to bypass HTTP cache when checking for a new
// service worker, but that's not reliably honored everywhere - an
// explicit no-cache header here is the only way to guarantee a sw.js
// fix actually reaches already-open tabs promptly after a deploy,
// instead of possibly sitting cached for hours.
source: "/sw.js",
headers: [{ key: "Cache-Control", value: "no-cache, no-store, must-revalidate" }],
},
];
},
};
export default nextConfig;