aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-01-29 08:08:45 -0800
committerAnton Tananaev <anton@traccar.org>2023-01-29 08:08:45 -0800
commitcd3eb2adb664a7c5278a2df124a589f6ba984c93 (patch)
treec6f6e6dc93e86ac3f48ffd7396ad10cfa0d09d81 /src/main
parent42cfe6de84f705971a638e5840d647a9e9c29c05 (diff)
downloadtrackermap-server-cd3eb2adb664a7c5278a2df124a589f6ba984c93.tar.gz
trackermap-server-cd3eb2adb664a7c5278a2df124a589f6ba984c93.tar.bz2
trackermap-server-cd3eb2adb664a7c5278a2df124a589f6ba984c93.zip
Fix warning
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/traccar/MainModule.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/MainModule.java b/src/main/java/org/traccar/MainModule.java
index db66e9e5f..ae637b455 100644
--- a/src/main/java/org/traccar/MainModule.java
+++ b/src/main/java/org/traccar/MainModule.java
@@ -359,7 +359,7 @@ public class MainModule extends AbstractModule {
@Provides
public static VelocityEngine provideVelocityEngine(Config config) {
Properties properties = new Properties();
- properties.setProperty("file.resource.loader.path", config.getString(Keys.TEMPLATES_ROOT) + "/");
+ properties.setProperty("resource.loader.file.path", config.getString(Keys.TEMPLATES_ROOT) + "/");
if (config.hasKey(Keys.WEB_URL)) {
properties.setProperty("web.url", config.getString(Keys.WEB_URL).replaceAll("/$", ""));