Make streams and vfs and http shared_ptr

This commit is contained in:
2025-09-29 02:22:27 -05:00
parent 71d0e36a5c
commit d785508571
61 changed files with 541 additions and 951 deletions

View File

@@ -59,7 +59,7 @@ int main(int argc, char** argv)
std::cout << "In folder: " << std::filesystem::absolute(directory).string() << std::endl;
FileServer fs(directory,allowListing, spa);
auto fs = std::make_shared<FileServer>(directory,allowListing, spa);
HttpServer server(port,fs);
server.StartAccepting();
TF_RunEventLoop();