mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-08 01:20:10 +08:00
Fix no domains if only glob config set
This commit is contained in:
@@ -80,6 +80,9 @@ export default (query, domains, global, nextTick) => {
|
||||
nextTick(() => applyCategories(domainData, domainImported));
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// If no configured domains, add a single default
|
||||
domains.push(clone(Domain.delegated));
|
||||
}
|
||||
|
||||
// Handle global settings
|
||||
|
Reference in New Issue
Block a user