Add static Http server example, fix wildcards

This commit is contained in:
Alex Hultman
2018-09-17 02:52:10 +02:00
parent 96d1c311ce
commit 7a67f57be0
6 changed files with 139 additions and 5 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ public:
httpContext = other.httpContext;
}
TemplatedApp(us_ssl_socket_context_options sslOptions) {
TemplatedApp(us_ssl_socket_context_options sslOptions = {}) {
httpContext = uWS::HttpContext<SSL>::create(uWS::Loop::defaultLoop(), &sslOptions);
}