diff --git a/Resources/Views/base.leaf b/Resources/Views/base.leaf index 8072975..13f0283 100644 --- a/Resources/Views/base.leaf +++ b/Resources/Views/base.leaf @@ -14,11 +14,13 @@
#(config.title) -
- + #endif
diff --git a/Resources/config.json b/Resources/config.json index ad3e1a6..5f37e68 100644 --- a/Resources/config.json +++ b/Resources/config.json @@ -1,5 +1,6 @@ { "title": "Statusboard", + "showSourceBtn": true, "services": { "Node 1": [ { diff --git a/Sources/App/JSONDecode.swift b/Sources/App/JSONDecode.swift index 77f4ecd..4206bd0 100644 --- a/Sources/App/JSONDecode.swift +++ b/Sources/App/JSONDecode.swift @@ -3,5 +3,6 @@ import Vapor struct Config: Codable { let title: String + let showSourceBtn: Bool let services: [String:[[String:String]]] } \ No newline at end of file