From 492ddd2cebf6592f60b5c00e15911a4002708b92 Mon Sep 17 00:00:00 2001 From: Oliver Giles Date: Thu, 13 Jul 2017 21:58:19 +0300 Subject: [PATCH] "Laminar" as default page title --- src/laminar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/laminar.cpp b/src/laminar.cpp index 8619e97..1822411 100644 --- a/src/laminar.cpp +++ b/src/laminar.cpp @@ -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)