mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
![]() If a user sets a default filename for a http mount (.def in lws_http_mount), eg. 'default.html', then a GET request for '/' correctly forwards to '/default.html'. However, without this commit the default filename is not taken into account for subdirectories. Thus, GET subdir/ will forward to 'subdir/index.html' instead of the expected 'subdir/default.html' This commit changes the behavior such that the user-provided default filename is also used for subdirectories. |
||
---|---|---|
.. | ||
access-log.c | ||
fops-zip.c | ||
lejp-conf.c | ||
lws-spa.c | ||
ranges.c | ||
rewrite.c | ||
server.c |