feat: make side panel Cultivos section read-only and place bed badge on the left

This commit is contained in:
2026-08-11 13:10:55 +00:00
commit a17deb815e
117 changed files with 32924 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
const fs = require('fs');
let code = fs.readFileSync('server/db.js', 'utf8');
code = code.replace(
/const currentDir = typeof currentDir !== 'undefined' \? currentDir : dirname\(fileURLToPath\(import\.meta\.url\)\);/,
`const currentDir = typeof __dirname !== 'undefined' ? __dirname : dirname(fileURLToPath(import.meta.url));`
);
fs.writeFileSync('server/db.js', code);