mirror of
https://onedev.site.tesses.net/tesses-framework
synced 2026-02-08 15:55:46 +00:00
Make streams and vfs and http shared_ptr
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user