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 ,