Browse Source

Fixed a build error with example/redirect.cc

yhirose 6 years ago
parent
commit
3291bdad91
1 changed files with 0 additions and 2 deletions
  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");
   });