xx 2 лет назад
Родитель
Сommit
0228effad5
1 измененных файлов с 9 добавлено и 0 удалено
  1. 9 0
      src/core/fastweb.cpp

+ 9 - 0
src/core/fastweb.cpp

@@ -34,6 +34,15 @@ bool fastweb::start()
 		host_config.port = iter->second.port;
 		host_config.ssl = iter->second.https;
 		ws_config.host.push_back(host_config);
+
+		std::string url;
+		if (host_config.ssl)
+			url = "https://";
+		else
+			url = "http://";
+		url += host_config.domain;
+		url += ":" + std::to_string(host_config.port);
+		LOG_WARN("URL: "+url);
 	}
 
 	ws_config.name = "master";