Skip to content

Commit 05212df

Browse files
committed
Fixed website...
1 parent 233ca06 commit 05212df

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

build.gradle

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,10 @@ dependencies {
8181
testImplementation 'org.junit.jupiter:junit-jupiter'
8282

8383
installer('org.mangorage:installer:4.0.15')
84+
bootstrap("org.mangorage:mangobotbootstrap:1.0.22")
8485

85-
bootstrap("org.mangorage:mangobotbootstrap:1.0.18")
86-
87-
plugin('org.mangorage:mangobot:12.0.52')
88-
plugin('org.mangorage:mangobotplugin:12.0.27')
86+
plugin('org.mangorage:mangobot:12.0.57')
87+
plugin('org.mangorage:mangobotplugin:12.0.28')
8988

9089
library('org.eclipse.jetty:jetty-server:11.0.16')
9190
library('org.eclipse.jetty:jetty-servlet:11.0.16')

src/main/java/org/mangorage/mangobotsite/website/util/WebUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static String setVisitorIdCookie(HttpServletResponse response, String vis
4141
public static @Nullable TemplateException processTemplate(Map<String, Object> data, String templateURL, Writer writer) throws IOException {
4242
// Configure FreeMarker
4343
Configuration cfg = new Configuration(new Version("2.3.31"));;
44-
cfg.setTemplateLoader(new ClassTemplateLoader(Thread.currentThread().getContextClassLoader(), "/templates"));
44+
cfg.setTemplateLoader(new ClassTemplateLoader(WebUtil.class.getClassLoader(), "templates"));
4545
cfg.setDefaultEncoding("UTF-8");
4646

4747
// Load the template

0 commit comments

Comments
 (0)