launch browser
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
This commit is contained in:
parent
c5246048bf
commit
06ad2a62cb
@ -110,9 +110,10 @@ handlers::handlers(mgmt_app_config *config, httplib::Server *server)
|
|||||||
std::signal(SIGTERM, quit_handler);
|
std::signal(SIGTERM, quit_handler);
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
system(
|
system(fmt::format(
|
||||||
fmt::format(R"(start "http://127.0.0.1:{}/ui")", config_->get_api_port())
|
R"(start "Repertory Management Portal" "http://127.0.0.1:{}/ui")",
|
||||||
.c_str());
|
config_->get_api_port())
|
||||||
|
.c_str());
|
||||||
#elif defined(__linux__)
|
#elif defined(__linux__)
|
||||||
system(fmt::format(R"(xdg-open "http://127.0.0.1:{}/ui")",
|
system(fmt::format(R"(xdg-open "http://127.0.0.1:{}/ui")",
|
||||||
config_->get_api_port())
|
config_->get_api_port())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user