Explorar o código

Fixed a build error with example/redirect.cc

yhirose %!s(int64=6) %!d(string=hai) anos
pai
achega
3291bdad91
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      example/redirect.cc

+ 0 - 2
example/redirect.cc

@@ -29,8 +29,6 @@ int main(void) {
 
   // HTTPS server
 #ifdef CPPHTTPLIB_OPENSSL_SUPPORT
-  SSLServer https(SERVER_CERT_FILE, SERVER_PRIVATE_KEY_FILE);
-
   https.Get("/", [=](const Request & /*req*/, Response &res) {
     res.set_redirect("/hi");
   });