From 63c1706594e9a1a951a7a82f53fcdae7aec26102 Mon Sep 17 00:00:00 2001 From: absoluteSpacehead Date: Tue, 6 Feb 2024 16:39:07 +0000 Subject: [PATCH] Remove extra logs --- Server/Source/Routes/Downloads.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/Server/Source/Routes/Downloads.ts b/Server/Source/Routes/Downloads.ts index f4770a2..7fc566f 100644 --- a/Server/Source/Routes/Downloads.ts +++ b/Server/Source/Routes/Downloads.ts @@ -74,7 +74,6 @@ async (req, res) => { res.set("content-type", "video/mp4") res.send(readFileSync(ChunkPath)); - console.log(`Sending back ${ChunkPath}`); }); App.get("/:InternalID", @@ -85,7 +84,6 @@ async (req, res, next) => { return next(); // trust me bro const IsPreview = SongData.ID != SongData.PID && req.params.InternalID == SongData.PID; - console.log(`We have ${IsPreview ? `PREVIEW` : `MAIN`} request`); if (SongData.IsDraft && ((req.user ? req.user.PermissionLevel < UserPermissions.VerifiedUser : true) && SongData.Author.ID !== req.user!.ID)) return res.status(403).send("You cannot use this track, because it's a draft.");