mirror of
				https://github.com/ohwgiles/laminar.git
				synced 2025-06-13 12:54:29 +00:00 
			
		
		
		
	"Laminar" as default page title
This commit is contained in:
		
							parent
							
								
									ad9837fd96
								
							
						
					
					
						commit
						492ddd2ceb
					
				| @ -147,8 +147,8 @@ void Laminar::sendStatus(LaminarClient* client) { | |||||||
| 
 | 
 | ||||||
|     Json j; |     Json j; | ||||||
|     j.set("type", "status"); |     j.set("type", "status"); | ||||||
|  |     j.set("title", getenv("LAMINAR_TITLE") ?: "Laminar"); | ||||||
|     j.startObject("data"); |     j.startObject("data"); | ||||||
|     j.set("title", getenv("LAMINAR_TITLE") ?: ""); |  | ||||||
|     if(client->scope.type == MonitorScope::RUN) { |     if(client->scope.type == MonitorScope::RUN) { | ||||||
|         db->stmt("SELECT queuedAt,startedAt,completedAt, result, reason FROM builds WHERE name = ? AND number = ?") |         db->stmt("SELECT queuedAt,startedAt,completedAt, result, reason FROM builds WHERE name = ? AND number = ?") | ||||||
|         .bind(client->scope.job, client->scope.num) |         .bind(client->scope.job, client->scope.num) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user