http server options, remove old
This commit is contained in:
2
main.cpp
2
main.cpp
@@ -18,7 +18,9 @@ int main(int argc, char * argv[]) {
|
||||
PIHTTPServer server;
|
||||
|
||||
server.setFavicon(PIFile::readAll("logo.png", false));
|
||||
// server.setOption(MicrohttpdServer::Option::HTTPSEnabled, true);
|
||||
server.listen({"127.0.0.1", 7777});
|
||||
// server.listen({"192.168.1.10", 7778});
|
||||
|
||||
server.registerPath("/", [](const MicrohttpdServer::Request & r) -> MicrohttpdServer::Reply {
|
||||
MicrohttpdServer::Reply ret;
|
||||
|
||||
Reference in New Issue
Block a user