Add www_path configuration option and update related parsing logic

This commit is contained in:
2025-10-03 21:10:16 +00:00
parent e93e65f882
commit b5a30a5268
5 changed files with 16 additions and 3 deletions

View File

@@ -14,6 +14,7 @@ typedef struct {
int verbose;
bool enable_http2;
bool enable_websocket;
char www_path[256];
} ServerConfig;
int load_config(const char *filename, ServerConfig *config);