diff options
author | Anton Tananaev <anton@traccar.org> | 2023-05-18 16:42:22 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-05-18 16:42:22 -0700 |
commit | ebc3ab93b63006c77802c45c793f3a875982dbba (patch) | |
tree | c0c435f6be0a89f5f892ea058fe68eda39ae330f /src/main/java/org/traccar/config | |
parent | 39b293b9f66c3c539e180fb2bcf37849335100dc (diff) | |
download | trackermap-server-ebc3ab93b63006c77802c45c793f3a875982dbba.tar.gz trackermap-server-ebc3ab93b63006c77802c45c793f3a875982dbba.tar.bz2 trackermap-server-ebc3ab93b63006c77802c45c793f3a875982dbba.zip |
Support web overrides
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r-- | src/main/java/org/traccar/config/Keys.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java index 162a3fe13..4ebdd49f1 100644 --- a/src/main/java/org/traccar/config/Keys.java +++ b/src/main/java/org/traccar/config/Keys.java @@ -754,6 +754,13 @@ public final class Keys { List.of(KeyType.CONFIG)); /** + * Path to a folder with overrides. It can be used for branding to keep custom logos in a separate place. + */ + public static final ConfigKey<String> WEB_OVERRIDE = new StringConfigKey( + "web.override", + List.of(KeyType.CONFIG)); + + /** * WebSocket connection timeout in milliseconds. Default timeout is 10 minutes. */ public static final ConfigKey<Long> WEB_TIMEOUT = new LongConfigKey( |