Add a config option allowing to disable SSL.

This commit is contained in:
Chunting Gu
2019-04-15 10:07:04 +08:00
parent d9509bda4a
commit 5e1b14e74d
7 changed files with 65 additions and 28 deletions
+4 -1
View File
@@ -3,7 +3,7 @@
// Compile configurations.
// Set 0 to disable logging.
// Set 1/0 to enable/disable logging.
#define WEBCC_ENABLE_LOG 1
#if WEBCC_ENABLE_LOG
@@ -11,4 +11,7 @@
#define WEBCC_LOG_LEVEL 2
#endif
// Set 1/0 to enable/disable SSL/HTTPS.
#define WEBCC_ENABLE_SSL 1
#endif // WEBCC_CONFIG_H_