mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-19 01:34:57 +00:00
use app version from new golpe header so that versions are accurate after incremental builds
This commit is contained in:
2
golpe
2
golpe
Submodule golpe updated: e39dcdc7ed...c0a6988f4f
@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
#include "RelayServer.h"
|
#include "RelayServer.h"
|
||||||
|
|
||||||
|
#include "app_git_version.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static std::string preGenerateHttpResponse(const std::string &contentType, const std::string &content) {
|
static std::string preGenerateHttpResponse(const std::string &contentType, const std::string &content) {
|
||||||
std::string output = "HTTP/1.1 200 OK\r\n";
|
std::string output = "HTTP/1.1 200 OK\r\n";
|
||||||
@ -95,7 +98,7 @@ void RelayServer::runWebsocket(ThreadPool<MsgWebsocket>::Thread &thr) {
|
|||||||
{ "contact", cfg().relay__info__contact },
|
{ "contact", cfg().relay__info__contact },
|
||||||
{ "supported_nips", tao::json::value::array({ 1, 9, 11, 12, 15, 16, 20, 22 }) },
|
{ "supported_nips", tao::json::value::array({ 1, 9, 11, 12, 15, 16, 20, 22 }) },
|
||||||
{ "software", "git+https://github.com/hoytech/strfry.git" },
|
{ "software", "git+https://github.com/hoytech/strfry.git" },
|
||||||
{ "version", GOLPE_GIT_VER },
|
{ "version", APP_GIT_VERSION },
|
||||||
})));
|
})));
|
||||||
ver = cfg().version();
|
ver = cfg().version();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user