BarryServer : Git

All the code for all my projects
// BarryServer : Git / IRCWebHooks / commit / c7c09b09808cac46441f41e3424797ff52e17005 / src / config.h

// Related

IRCWebHooks

Barry Adding HTTP authentication to webserver c7c09b0 (3 years, 3 months ago)
diff --git a/src/config.h b/src/config.h
index fb8f9ac..da4c21a 100644
--- a/src/config.h
+++ b/src/config.h
@@ -17,5 +17,6 @@
 /* Web server settings */
 #define WEB_PORT 8080
 #define SSL_SERVER 1 // Leave undefined for HTTP
+#define WEB_AUTH "user:password" // Leave undefined for none
 
 #endif