mirror of
https://github.com/formbricks/formbricks.git
synced 2026-05-18 13:49:20 -05:00
fix: temporarily remove custom cache handler to solve next.js issues
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user