1
0
forked from cat/WebBase
Files
FileHoster/src/Entry.cpp

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;
}