feat: complete Phase 0 Enterprise IAM

This commit is contained in:
thakares committed 2026-07-21 15:26:16 +05:30
1 parent 3d2d291006
commit c2f5ba3f54
202 files changed
+21371 -1360

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
const fs = require('fs');
const file = 'ui/dist/assets/boot.js';
let content = fs.readFileSync(file, 'utf8');
content = `
const originalError = console.error;
console.error = function(...args) {
originalError.apply(console, args);
const el = document.getElementById("main");
if (el) {
el.innerHTML = "<pre style='color:red'>" + args.map(a => String(a)).join(" ") + "</pre>";
}
};
` + content;
fs.writeFileSync(file, content);