mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-11 01:59:58 +00:00
Replace JSON config import
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
import path from "path";
|
||||
import url from "url";
|
||||
|
||||
import config from "../../config.json" assert { type: "json" };
|
||||
import config from "./config.js";
|
||||
|
||||
const __dirname = path.dirname(url.fileURLToPath(import.meta.url));
|
||||
const rootPath = path.join(__dirname, "../../../");
|
||||
|
||||
Reference in New Issue
Block a user