mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
ENABLE_AVAHI is not included in WebServer
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include <stdexcept>
|
||||
|
||||
// project includes
|
||||
#include "HyperionConfig.h"
|
||||
#include <jsonserver/JsonServer.h>
|
||||
#include "JsonClientConnection.h"
|
||||
|
||||
@@ -49,6 +50,7 @@ void JsonServer::start()
|
||||
return;
|
||||
}
|
||||
Info(_log, "Started on port %d", _port);
|
||||
|
||||
#ifdef ENABLE_AVAHI
|
||||
if(_serviceRegister == nullptr)
|
||||
{
|
||||
|
Reference in New Issue
Block a user