aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-05-15 12:50:11 -0700
committerAnton Tananaev <anton@traccar.org>2023-05-15 12:50:11 -0700
commit599abc3523b93f83281d44b109676b1b0ed602f5 (patch)
tree3b1a9864104792b50f6d30b867be9cbc9276dc95
parente44e9f860b11a50b3e39e3895ea9ea5624282b78 (diff)
downloadtrackermap-server-599abc3523b93f83281d44b109676b1b0ed602f5.tar.gz
trackermap-server-599abc3523b93f83281d44b109676b1b0ed602f5.tar.bz2
trackermap-server-599abc3523b93f83281d44b109676b1b0ed602f5.zip
Rename server attributes
-rw-r--r--src/main/java/org/traccar/web/OverrideFilter.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/org/traccar/web/OverrideFilter.java b/src/main/java/org/traccar/web/OverrideFilter.java
index cb69dfbfa..303c21253 100644
--- a/src/main/java/org/traccar/web/OverrideFilter.java
+++ b/src/main/java/org/traccar/web/OverrideFilter.java
@@ -55,9 +55,9 @@ public class OverrideFilter implements Filter {
throw new RuntimeException(e);
}
- String title = server.getString("serverTitle", "Traccar");
- String description = server.getString("serverDescription", "Traccar GPS Tracking System");
- String colorPrimary = server.getString("serverColorPrimary", "#1a237e");
+ String title = server.getString("title", "Traccar");
+ String description = server.getString("description", "Traccar GPS Tracking System");
+ String colorPrimary = server.getString("colorPrimary", "#1a237e");
String alteredContent = wrapper.getCaptureAsString()
.replace("${title}", title)