forked from cat/WebBase
17 lines
353 B
C++
17 lines
353 B
C++
#include "main.hpp"
|
|
#include <exception>
|
|
#include <iostream>
|
|
|
|
// Entry point a.k.a "main.cpp"
|
|
// You do not want to program here 99% of the time
|
|
int main(int argc, char *argv[]) {
|
|
try {
|
|
asio::io_context context;
|
|
Webserver server(context);
|
|
context.run();
|
|
} catch (std::exception &e) {
|
|
std::cerr << e.what() << "\n";
|
|
}
|
|
return 0;
|
|
}
|