Update server_config.h

Added server_name for HTTPS
This commit is contained in:
2025-02-09 23:54:40 +01:00
committed by GitHub
parent ce8a35e4c6
commit 1ae4f070b5

View File

@@ -10,6 +10,7 @@ typedef struct {
int max_threads; int max_threads;
bool running; bool running;
bool automatic_startup; //TODO func automatic startup on boot bool automatic_startup; //TODO func automatic startup on boot
char server_name[256]; // Add this field for server name
} ServerConfig; } ServerConfig;
int load_config(const char *filename, ServerConfig *config); int load_config(const char *filename, ServerConfig *config);