From b0488ff44340eba9b73abe5d57d05388018b29fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Arturo=20Cabral=20Mej=C3=ADa?= Date: Tue, 22 Oct 2024 08:38:19 -0400 Subject: [PATCH] chore: add skip admission check (thanks YEGHRO) --- CONFIGURATION.md | 1 + src/@types/settings.ts | 1 + src/app/static-mirroring-worker.ts | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/CONFIGURATION.md b/CONFIGURATION.md index 4118be6e..9b1d86a7 100644 --- a/CONFIGURATION.md +++ b/CONFIGURATION.md @@ -88,6 +88,7 @@ Running `nostream` for the first time creates the settings file in ` { const currentSettings = this.settings() + if (this.config.skipAdmissionCheck === true) { + return true + } + if (currentSettings.payments?.enabled !== true) { return true }