fix: when not using dns_records_path, use config dns editor

This commit is contained in:
Aarnav Tale 2025-04-26 17:50:07 -04:00
parent 2a4d23d70f
commit 129e4f648b
2 changed files with 19 additions and 1 deletions

View file

@ -77,7 +77,7 @@ export class HeadscaleDNSConfig {
export async function loadHeadscaleDNS(path?: string) {
if (!path) {
return new HeadscaleDNSConfig('no');
return;
}
log.debug('config', 'Loading Headscale DNS configuration file: %s', path);