fix: temporarily remove custom cache handler to solve next.js issues

This commit is contained in:
Matthias Nannt
2024-04-24 17:06:48 +02:00
parent 2da2758255
commit b68dcdf2dc
2 changed files with 3 additions and 3 deletions
+3 -3
View File
@@ -5,7 +5,7 @@ import { createRequire } from "node:module";
import { fileURLToPath } from "node:url";
const jiti = createJiti(fileURLToPath(import.meta.url));
const require = createRequire(import.meta.url);
// const require = createRequire(import.meta.url);
jiti("@formbricks/lib/env");
@@ -157,9 +157,9 @@ const nextConfig = {
};
// set custom cache handler
if (process.env.CUSTOM_CACHE_DISABLED !== "1") {
/* if (process.env.CUSTOM_CACHE_DISABLED !== "1") {
nextConfig.cacheHandler = require.resolve("./cache-handler.mjs");
}
} */
// set actions allowed origins
if (process.env.WEBAPP_URL) {