ENABLE_DEBUG has values either 0 or 1, otherwise its always defined.
Change-Id: I0253dc2d83c11888e79ddb991b065eb62bbbd805
This commit is contained in:
parent
aed840ea04
commit
f47936a2da
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ void FileServerRequestHandler::handleRequest(const HTTPRequest& request, Poco::M
|
|||
|
||||
bool gzip = request.hasToken("Accept-Encoding", "gzip");
|
||||
const std::string *content;
|
||||
#ifdef ENABLE_DEBUG
|
||||
#if ENABLE_DEBUG
|
||||
if (std::getenv("LOOL_SERVE_FROM_FS"))
|
||||
{
|
||||
// Useful to not serve from memory sometimes especially during loleaflet development
|
||||
|
|
Loading…
Reference in a new issue