From ea6de0f178130fb301577892f01e62e2273e3411 Mon Sep 17 00:00:00 2001 From: Sarlay <60151189+Sarlay@users.noreply.github.com> Date: Fri, 16 Sep 2022 17:51:14 +0000 Subject: [PATCH] fix nginx not using saved credentials --- .../src/main/kotlin/com/lagradost/NginxProviderPlugin.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NginxProvider/src/main/kotlin/com/lagradost/NginxProviderPlugin.kt b/NginxProvider/src/main/kotlin/com/lagradost/NginxProviderPlugin.kt index f8a7a49..0cd319e 100644 --- a/NginxProvider/src/main/kotlin/com/lagradost/NginxProviderPlugin.kt +++ b/NginxProvider/src/main/kotlin/com/lagradost/NginxProviderPlugin.kt @@ -15,6 +15,7 @@ class NginxProviderPlugin : Plugin() { override fun load(context: Context) { // All providers should be added in this manner. Please don't edit the providers list directly. + nginxApi.init() registerMainAPI(NginxProvider()) ioSafe { nginxApi.initialize() @@ -30,4 +31,4 @@ class NginxProviderPlugin : Plugin() { } } } -} \ No newline at end of file +}