Updates
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// @ts-check
|
||||
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
|
||||
const jsonFile = path.resolve(__dirname, "../../jsonData/userPriviledges.json");
|
||||
const base64File = Buffer.from(fs.readFileSync(jsonFile, "utf8")).toString(
|
||||
"base64"
|
||||
);
|
||||
console.log(base64File);
|
||||
Reference in New Issue
Block a user