mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-24 07:03:08 +01:00
Fix certificates getting null domain names whgen no cn exists
This commit is contained in:
1 parent
1e22574000
commit
84886383a7
2 files changed
+2
-2
No files matched your search
@@ -18,7 +18,7 @@ const boolFields = ["is_deleted"];
|
||||
const cleanDomainNames = (domainNames) => {
|
||||
// Sort domain_names
|
||||
if (typeof domainNames !== "undefined") {
|
||||
const newDomainNames = domainNames.filter((name) => name !== null);
|
||||
const newDomainNames = domainNames.filter((name) => name != null);
|
||||
newDomainNames.sort();
|
||||
return newDomainNames;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user