1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2024-12-24 09:10:43 +01:00

Fixed: Rule generator

This commit is contained in:
nobody 2020-11-08 21:55:40 +01:00
parent 04a3a6cd6e
commit b0bb2add31
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A

View File

@ -26,7 +26,7 @@ var ruleGenerator = {};
ruleGenerator.openRuleSet = function ({ target }) { ruleGenerator.openRuleSet = function ({ target }) {
let urls, key, textArea, btnCopy, content; let urls, key, textArea, btnCopy, content;
urls = CDNs; urls = mappings.cdn;
key = target.getAttribute('data-option'); key = target.getAttribute('data-option');
textArea = document.getElementById('generated-rules'); textArea = document.getElementById('generated-rules');
btnCopy = document.getElementById('button-copy-rule-set'); btnCopy = document.getElementById('button-copy-rule-set');