diff options
author | Anton Tananaev <anton@traccar.org> | 2023-01-29 08:08:45 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-01-29 08:08:45 -0800 |
commit | cd3eb2adb664a7c5278a2df124a589f6ba984c93 (patch) | |
tree | c6f6e6dc93e86ac3f48ffd7396ad10cfa0d09d81 | |
parent | 42cfe6de84f705971a638e5840d647a9e9c29c05 (diff) | |
download | trackermap-server-cd3eb2adb664a7c5278a2df124a589f6ba984c93.tar.gz trackermap-server-cd3eb2adb664a7c5278a2df124a589f6ba984c93.tar.bz2 trackermap-server-cd3eb2adb664a7c5278a2df124a589f6ba984c93.zip |
Fix warning
-rw-r--r-- | src/main/java/org/traccar/MainModule.java | 2 |
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("/$", "")); |