Dont even bother loading mappings for assets.

This commit is contained in:
TheArcaneBrony
2022-08-24 14:09:24 +02:00
parent 57583d049a
commit 48be9bddba
+3
View File
@@ -45,6 +45,9 @@ export default function TestClient(app: Application) {
res.set(name, value);
});
} else {
if(req.params.file.endsWith(".map")) {
return res.status(404).send("Not found");
}
console.log(`[TestClient] Downloading file not yet cached! Asset file: ${req.params.file}`);
response = await fetch(`https://discord.com/assets/${req.params.file}`, {
agent,