Skip to content

Commit

Permalink
updating removing useless shit
Browse files Browse the repository at this point in the history
  • Loading branch information
tanneberger committed Apr 12, 2023
1 parent d7dd62b commit aea3304
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions src/broadcast_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,6 @@ BroadcastServer::BroadcastServer() noexcept {
on_message(std::forward<decltype(PH1)>(PH1), std::forward<decltype(PH2)>(PH2));
});


if (std::getenv("API_DOMAIN") != nullptr) {
api_url_ = std::getenv("API_DOMAIN");
std::cout << "API_DOMAIN FOUND:" << api_url_.value() << std::endl;
} else {
api_url_ = std::nullopt;
std::cout << "NO API_DOMAIN FOUND" << std::endl;
};
}

BroadcastServer::~BroadcastServer() noexcept {
Expand Down
1 change: 0 additions & 1 deletion src/broadcast_server.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ class BroadcastServer {

PrometheusExporter exporter_;

std::optional<std::string> api_url_;
public:
BroadcastServer() noexcept;
~BroadcastServer() noexcept;
Expand Down

0 comments on commit aea3304

Please sign in to comment.