web: smoke-test the built standalone app against a mock graphql cms

This commit is contained in:
2026-08-31 03:26:54 +02:00
parent 6d0932e44c
commit 389b95ed85
8 changed files with 870 additions and 1 deletions
+5 -1
View File
@@ -18,7 +18,11 @@ const nextConfig = {
],
formats: ["image/avif", "image/webp"],
minimumCacheTTL: 7 * 24 * 60 * 60, // 7 days
dangerouslyAllowLocalIP: process.env.NODE_ENV === "development",
// smoke tests build in production mode against a mock CMS on 127.0.0.1;
// the flag is serialized into the build, so it must be set at build time
dangerouslyAllowLocalIP:
process.env.NODE_ENV === "development" ||
process.env.SMOKE_ALLOW_LOCAL_IMAGES === "1",
},
turbopack: {
root: __dirname,