1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2024-10-27 20:34:20 +00:00

"Laminar" as default page title

This commit is contained in:
Oliver Giles 2017-07-13 21:58:19 +03:00
parent ad9837fd96
commit 492ddd2ceb

View File

@ -147,8 +147,8 @@ void Laminar::sendStatus(LaminarClient* client) {
Json j;
j.set("type", "status");
j.set("title", getenv("LAMINAR_TITLE") ?: "Laminar");
j.startObject("data");
j.set("title", getenv("LAMINAR_TITLE") ?: "");
if(client->scope.type == MonitorScope::RUN) {
db->stmt("SELECT queuedAt,startedAt,completedAt, result, reason FROM builds WHERE name = ? AND number = ?")
.bind(client->scope.job, client->scope.num)