Initial Version

This commit is contained in:
Ruslan845
2026-03-10 03:45:00 +09:00
commit 2c4fc7f933
128 changed files with 7617 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
const fs = require("fs");
const deleteFile = (filePath) => {
fs.unlink(filePath, (err) => {
if (err) {
throw new Error("dsadhas");
}
});
};
exports.fileDelete = deleteFile;

3
server/data/util/path.js Normal file
View File

@@ -0,0 +1,3 @@
const path = require('path');
module.exports = path.dirname(process.mainModule.filename);