mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Logging user file deletion
This commit is contained in:
parent
860d5c5e59
commit
1a7b787eed
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@ function setup(data: SubmoduleData): void {
|
||||||
})
|
})
|
||||||
|
|
||||||
app.post('/deleteUserFile', (req: Request, res) => {
|
app.post('/deleteUserFile', (req: Request, res) => {
|
||||||
|
logger.LogReq(req)
|
||||||
const dir: any = req.body.dir
|
const dir: any = req.body.dir
|
||||||
const fname: any = req.body.fname
|
const fname: any = req.body.fname
|
||||||
if (!dir || !fname) {
|
if (!dir || !fname) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue