1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

Improved: List of domains line by line (#236)

This commit is contained in:
nobody
2021-01-18 19:04:01 +01:00
parent 09f52fe081
commit 480722e1f6
4 changed files with 8 additions and 7 deletions

View File

@@ -279,7 +279,7 @@ options._serializeAllowlistedDomains = function (allowlistedDomains) {
domainAllowlist = '';
allowlistedDomainKeys.forEach(function (domain) {
domainAllowlist = `${domainAllowlist}${domain};`;
domainAllowlist = `${domainAllowlist}${domain}\n`;
});
domainAllowlist = domainAllowlist.slice(0, -1);