From 205e116e4dcf6a9ae94ba7418593276de4204741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BC=D0=B5=D0=BA=D0=B0=D1=82=D1=96=D0=B2?= <106783764+meqativ@users.noreply.github.com> Date: Sat, 2 Nov 2024 02:06:58 +0200 Subject: [PATCH] Update custom.js --- js/custom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/custom.js b/js/custom.js index 4e476a4..916e432 100644 --- a/js/custom.js +++ b/js/custom.js @@ -59,7 +59,7 @@ function parseAndShowDocument(data, url, raw) { $(document).ready(function() { var loc = getParameterByName('txt') var raw = getParameterByName('raw') - var url = "https://cdn.discordapp.com/attachments/"+loc+".txt"; + var url = "https://cdn.discordapp.com/attachments/"+loc; if(loc) { $.ajax({ url: cors_url + url ,