log temizlendi
This commit is contained in:
@@ -2723,7 +2723,6 @@ app.get("/media/:path(*)", requireAuth, (req, res) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const fullPath = path.join(DOWNLOAD_DIR, safeRel);
|
const fullPath = path.join(DOWNLOAD_DIR, safeRel);
|
||||||
console.log("Media request:", { originalPath: req.params.path, decodedPath: relPath, safeRel, fullPath }); // Debug için log ekle
|
|
||||||
|
|
||||||
if (!fs.existsSync(fullPath)) {
|
if (!fs.existsSync(fullPath)) {
|
||||||
console.error("File not found:", fullPath);
|
console.error("File not found:", fullPath);
|
||||||
|
|||||||
Reference in New Issue
Block a user