From 14a770319cdaf43b64278ffa45d5dad1ebb7b244 Mon Sep 17 00:00:00 2001 From: manhole <manholex@gmail.com> Date: Fri, 07 Jun 2013 02:50:28 -0400 Subject: [PATCH] SMTPs mailserver available (not only gmail) --- src/main/java/com/gitblit/PagesServlet.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/gitblit/PagesServlet.java b/src/main/java/com/gitblit/PagesServlet.java index 1e2d311..9516b35 100644 --- a/src/main/java/com/gitblit/PagesServlet.java +++ b/src/main/java/com/gitblit/PagesServlet.java @@ -150,8 +150,9 @@ if (StringUtils.isEmpty(resource)) { // find resource List<String> markdownExtensions = GitBlit.getStrings(Keys.web.markdownExtensions); - List<String> extensions = new ArrayList<String>(markdownExtensions.size() + 1); + List<String> extensions = new ArrayList<String>(markdownExtensions.size() + 2); extensions.add("html"); + extensions.add("htm"); extensions.addAll(markdownExtensions); for (String ext : extensions){ String file = "index." + ext; -- Gitblit v1.9.1