Fixed a build error with example/redirect.cc

This commit is contained in:
yhirose 2019-08-01 21:00:58 -04:00
parent e8799383f3
commit 3291bdad91

View file

@ -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");
});