forked from pEp.foundation/webserver
parent
b8a3c2efec
commit
7eb10d44db
@ -1,5 +1,8 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>pEp::Webserver running.</title>
|
||||
</head>
|
||||
<body>
|
||||
This is a test page.
|
||||
This is the test page of the p≡p Webserver. If you can see this then everything works.
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,9 +1,12 @@
|
||||
#include <iostream>
|
||||
#include <thread>
|
||||
|
||||
#include "webserver.hh"
|
||||
|
||||
int main()
|
||||
{
|
||||
pEp::Webserver web{net::ip::address::from_string("127.0.0.1"), 8080, "htdocs"};
|
||||
web.run();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in new issue