If your loadIrdbFile function you append the decoded path to the URL.
const path = decodeURIComponent(encodedPath);
const url = source === 'irdb'
? 'https://cdn.jsdelivr.net/gh/probonopd/irdb@master/' + path
: 'https://raw.githubusercontent.com/Lucaslhm/Flipper-IRDB/main/' + path;
But shouldn't the encoded path be appended to the url?
Though it seems to work with both..
If your
loadIrdbFilefunction you append the decodedpathto the URL.But shouldn't the encoded path be appended to the url?
Though it seems to work with both..