diff --git a/golpe b/golpe index e39dcdc..c0a6988 160000 --- a/golpe +++ b/golpe @@ -1 +1 @@ -Subproject commit e39dcdc7ed857f8614950de2a99d336eb29af677 +Subproject commit c0a6988f4fb6597e2145f24f89c7d3f9845068e5 diff --git a/src/RelayWebsocket.cpp b/src/RelayWebsocket.cpp index c67e90d..531b00b 100644 --- a/src/RelayWebsocket.cpp +++ b/src/RelayWebsocket.cpp @@ -2,6 +2,9 @@ #include "RelayServer.h" +#include "app_git_version.h" + + static std::string preGenerateHttpResponse(const std::string &contentType, const std::string &content) { std::string output = "HTTP/1.1 200 OK\r\n"; @@ -95,7 +98,7 @@ void RelayServer::runWebsocket(ThreadPool::Thread &thr) { { "contact", cfg().relay__info__contact }, { "supported_nips", tao::json::value::array({ 1, 9, 11, 12, 15, 16, 20, 22 }) }, { "software", "git+https://github.com/hoytech/strfry.git" }, - { "version", GOLPE_GIT_VER }, + { "version", APP_GIT_VERSION }, }))); ver = cfg().version(); }