This commit is contained in:
2023-09-21 20:56:46 +05:00
parent da368013e6
commit 17b2569334
5 changed files with 54 additions and 12 deletions

View File

@ -133,6 +133,14 @@ app.post("/proj/download", (req,res) => {try{
})
} catch (error) {func.log("router project loading error - "+error);}
})
app.post("/proj/rename", (req,res) => {try{
let inp = req.body;
let cook = req.cookies;
func.sid(cook,res,()=>{
proj.rename(inp,cook,res);
})
} catch (error) {func.log("router project loading error - "+error);}
})
app.post("/get_projs", (req,res) => {
try{
let inp = req.body;