Dir mode change to info

This commit is contained in:
2020-12-29 23:32:46 +01:00
parent 75ef4110c8
commit 8e265bfba7
2 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ int client_request_handler(sock *client, unsigned long client_num, unsigned int
goto respond;
}
dir_mode = URI_DIR_MODE_FORBIDDEN;
dir_mode = URI_DIR_MODE_INFO;
http_uri uri;
ret = uri_init(&uri, webroot, req.uri, dir_mode);
if (ret != 0) {

View File

@ -55,7 +55,7 @@
#define HTTP_4XX_STR "\x1B[1;31m"
#define HTTP_5XX_STR "\x1B[1;31m"
#define NECRONDA_VERSION "4.0"
#define NECRONDA_VERSION "4.1"
#define SERVER_STR "Necronda/" NECRONDA_VERSION
#define NECRONDA_ZLIB_LEVEL 9