Don't require https when ENABLE_DEBUG for the remote config thing
Signed-off-by: Tor Lillqvist <tml@collabora.com> Change-Id: I8b71d4e5a06e2c0a7fcd7dedc370cc4810a204fd
This commit is contained in:
parent
7e248d89db
commit
cdc783ec0e
1 changed files with 4 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue