*Dont require a domain
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
d8f0288370
commit
ededa55b57
|
@ -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;
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue