From 3291bdad91a42e66ae205e8563f989e1f7199a8e Mon Sep 17 00:00:00 2001 From: yhirose Date: Thu, 1 Aug 2019 21:00:58 -0400 Subject: [PATCH] Fixed a build error with example/redirect.cc --- example/redirect.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/example/redirect.cc b/example/redirect.cc index 44aa3bd..3de5b89 100644 --- a/example/redirect.cc +++ b/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"); });