*Dont require a domain
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Derrick Hammer 2022-12-06 16:22:28 -05:00
parent d8f0288370
commit ededa55b57
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 4 additions and 6 deletions

View File

@ -55,10 +55,4 @@ config.load({
argv: true, argv: true,
}); });
for (const setting of ["domain"]) {
if (!config.get(setting)) {
errorExit(`Required config option ${setting} not set`);
}
}
export default config; export default config;

View File

@ -36,6 +36,10 @@ async function ipUpdate() {
} }
export async function start() { export async function start() {
if (!config.str("domain")) {
return;
}
const swarm = getSwarm(); const swarm = getSwarm();
await ipUpdate(); await ipUpdate();