anthracite/src/file_main.cpp
Nicholas Orlowsky ca05aa1e5a
Some checks failed
Docker Build & Publish / build (push) Has been cancelled
event loop with threadmgr
2025-02-21 14:09:01 -05:00

15 lines
391 B
C++

#include "../lib/anthracite.hpp"
#include "../lib/backends/file_backend.hpp"
#include "../lib/config/config.hpp"
using namespace anthracite;
int main(int argc, char** argv)
{
backends::file_backend fb("./www");
config::config cfg(5);
cfg.add_http_config(config::http_config(8080));
cfg.add_https_config(config::https_config(8081, "", ""));
anthracite_main(fb, cfg);
}