drop #ifdef SNAPPY from guhconfig... we'll prepare configs in the packaging step now

This commit is contained in:
Michael Zanetti 2017-09-05 11:56:10 +02:00
parent 1e15095b08
commit a8b3cc30ca

View File

@ -83,10 +83,6 @@ GuhConfiguration::GuhConfiguration(QObject *parent) :
config.sslEnabled = false;
config.authenticationEnabled = false;
config.publicFolder = "/usr/share/guh-webinterface/public/";
#ifdef SNAPPY
// Override default public folder path for snappy
config.publicFolder = settings.value("publicFolder", QString(qgetenv("SNAP")) + "/guh-webinterface/").toString();
#endif
m_webServerConfigs[config.id] = config;
storeWebServerConfig(config);
}