Skip to content

Commit

Permalink
Fixed a build error with example/redirect.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
yhirose committed Aug 2, 2019
1 parent e879938 commit 3291bda
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions example/redirect.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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");
});
Expand Down

0 comments on commit 3291bda

Please sign in to comment.