فهرست منبع

Fixed a build error with example/redirect.cc

yhirose 6 سال پیش
والد
کامیت
3291bdad91
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  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");
   });