We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 002e473 commit ed56993Copy full SHA for ed56993
1 file changed
lib/web.cpp
@@ -259,7 +259,7 @@ void Web::start()
259
logger->info("Starting sub-system: htdocs={}", htdocs.c_str());
260
261
/* update web root of mount point */
262
- mounts[1].origin = htdocs.c_str();
+ mounts[ARRAY_LEN(mounts)-1].origin = htdocs.c_str();
263
264
context = lws_create_context(&ctx_info);
265
if (context == nullptr)
0 commit comments