Spaces:
Paused
Paused
plsgivemeachane
commited on
Commit
·
8983583
1
Parent(s):
ae656e3
Error checking
Browse files
index.js
CHANGED
|
@@ -424,6 +424,7 @@ app.post("/file/upload", async (req, res) => {
|
|
| 424 |
}
|
| 425 |
|
| 426 |
try {
|
|
|
|
| 427 |
const upload_path = req.file.path;
|
| 428 |
const file_path = req.body.filePath;
|
| 429 |
const full_file_path = req.user.username + (file_path ? "/" + file_path : "");
|
|
|
|
| 424 |
}
|
| 425 |
|
| 426 |
try {
|
| 427 |
+
console.log(req.file)
|
| 428 |
const upload_path = req.file.path;
|
| 429 |
const file_path = req.body.filePath;
|
| 430 |
const full_file_path = req.user.username + (file_path ? "/" + file_path : "");
|