fix path
This commit is contained in:
parent
caa2809838
commit
79f0f5deba
@ -4,7 +4,7 @@ import path from "path";
|
||||
import { ScriptSchema, type Script } from "@/app/json-editor/_schemas/schemas";
|
||||
import { Metadata } from "@/lib/types";
|
||||
|
||||
const jsonDir = "public/json";
|
||||
const jsonDir = path.join(__dirname, '../../json');
|
||||
const metadataFileName = "metadata.json";
|
||||
const encoding = "utf-8";
|
||||
|
||||
|
@ -5,7 +5,7 @@ import path from "path";
|
||||
|
||||
export const dynamic = "force-static";
|
||||
|
||||
const jsonDir = "public/json";
|
||||
const jsonDir = path.join(__dirname, '../../json');
|
||||
const metadataFileName = "metadata.json";
|
||||
const encoding = "utf-8";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user