This commit is contained in:
@@ -8,7 +8,7 @@ int main(int argc, char** argv)
|
||||
const int port = (argc >= 2) ? std::atoi(argv[1]) : 8080;
|
||||
const std::filesystem::path www_root = (argc >= 3) ? std::filesystem::path(argv[2]) : std::filesystem::path("www");
|
||||
const std::filesystem::path data_path =
|
||||
(argc >= 4) ? std::filesystem::path(argv[3]) : std::filesystem::path("data/state.json");
|
||||
(argc >= 4) ? std::filesystem::path(argv[3]) : std::filesystem::path("data/RBS.db");
|
||||
|
||||
lm::LidarManagerApp app(port, www_root, data_path);
|
||||
return app.run();
|
||||
|
||||
Reference in New Issue
Block a user