Initial upload
This commit is contained in:
1 parent
b0bf3b7167
commit
a022f29e34
65 files changed
+46484
-4339
No files matched your search
@@ -0,0 +1,10 @@
|
||||
const fs = require('fs');
|
||||
let cssContent = fs.readFileSync('public/css/bot.css', 'utf8');
|
||||
|
||||
cssContent = cssContent.replace(/will-change: opacity, transform;/g, 'will-change: opacity, max-width;');
|
||||
|
||||
fs.writeFileSync('public/css/bot.css', cssContent);
|
||||
|
||||
let ejsContent = fs.readFileSync('views/bot.ejs', 'utf8');
|
||||
ejsContent = ejsContent.replace(/transform: translateZ\(0\);\n\s*backface-visibility: hidden;/g, 'transform: translateZ(0);');
|
||||
fs.writeFileSync('views/bot.ejs', ejsContent);
|
||||
Reference in new issue
Block a user