mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 14:29:10 -07:00
Fixed a build error with example/redirect.cc
This commit is contained in:
parent
e8799383f3
commit
3291bdad91
1 changed files with 0 additions and 2 deletions
|
@ -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");
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue