21 lines
1.2 KiB
Diff
21 lines
1.2 KiB
Diff
diff --git a/share/rallly/node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js b/share/rallly/node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js
|
|
index f3be830..fdafb45 100755
|
|
--- a/share/rallly/node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js
|
|
+++ b/share/rallly/node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js
|
|
@@ -10,6 +10,7 @@ Object.defineProperty(exports, "default", {
|
|
});
|
|
const _lrucache = /*#__PURE__*/ _interop_require_default(require("next/dist/compiled/lru-cache"));
|
|
const _path = /*#__PURE__*/ _interop_require_default(require("../../../shared/lib/isomorphic/path"));
|
|
+var path = require('node:path');
|
|
const _constants = require("../../../lib/constants");
|
|
function _interop_require_default(obj) {
|
|
return obj && obj.__esModule ? obj : {
|
|
@@ -22,7 +23,7 @@ class FileSystemCache {
|
|
constructor(ctx){
|
|
this.fs = ctx.fs;
|
|
this.flushToDisk = ctx.flushToDisk;
|
|
- this.serverDistDir = ctx.serverDistDir;
|
|
+ this.serverDistDir = path.join(process.env.NIXPKGS_RALLLY_CACHE_DIR, "rallly");
|
|
this.appDir = !!ctx._appDir;
|
|
this.pagesDir = !!ctx._pagesDir;
|
|
this.revalidatedTags = ctx.revalidatedTags;
|