From cdc783ec0eb21aeebc227806cba3d01796431035 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 23 Feb 2022 12:44:46 +0200 Subject: [PATCH] Don't require https when ENABLE_DEBUG for the remote config thing Signed-off-by: Tor Lillqvist Change-Id: I8b71d4e5a06e2c0a7fcd7dedc370cc4810a204fd --- wsd/COOLWSD.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wsd/COOLWSD.cpp b/wsd/COOLWSD.cpp index 842021259..aa25c06a3 100644 --- a/wsd/COOLWSD.cpp +++ b/wsd/COOLWSD.cpp @@ -1036,11 +1036,13 @@ public: LOG_INF("Remote config url is not specified in coolwsd.xml"); return; // no remote config server setup. } - else if (!Util::iequal(remoteServerURI.getScheme(), "https")) +#if !ENABLE_DEBUG + if (Util::iequal(remoteServerURI.getScheme(),"http")) { - LOG_ERR("Remote config url should only use HTTPS protocol"); + LOG_ERR("Remote config url should only use HTTPS protocol: " << remoteServerURI.toString()); return; } +#endif startThread(); }