massive UwU fixes & updates

when login lasd sids is logged out, added cache for images they are being save to local storage when loaded, added reload for dragging elements when resizing the window or zooming the page, updated logging function, added local and cloud saving, loading for project, updated project preview image saving, updated object loading,  updated sid cleaning. i did it all in one day OWO. thats it Uwu
This commit is contained in:
2023-07-04 04:11:17 +05:00
parent 204318ef88
commit 1f5085490f
12 changed files with 365 additions and 253 deletions

View File

@ -26,7 +26,7 @@ const app = express();
// const { mainModule } = require('process');
// const { name } = require('ejs');
const maxRequestBodySize = '50mb';
const maxRequestBodySize = '20mb';
app.set('view engine', 'ejs');
app.use(express.urlencoded({
extended: false,
@ -79,7 +79,6 @@ app.post("/get_cr_uuid", (req,res) => {
app.post("/save_proj", (req,res) => {
let inp = req.body;
let cook = req.cookies;
// func.log(inp["img"]);
func.sid(cook,res,()=>{
proj.save(inp,cook,res);
})