Fix mime type for svg in themes directory

This commit is contained in:
zzz
2016-01-15 15:24:40 +00:00
parent 6edd2b97b9
commit ff66d9db67
2 changed files with 3 additions and 1 deletions

View File

@@ -18,6 +18,8 @@ if (uri.endsWith(".css")) {
response.setContentType("image/jpeg"); response.setContentType("image/jpeg");
} else if (uri.endsWith(".ico")) { } else if (uri.endsWith(".ico")) {
response.setContentType("image/x-icon"); response.setContentType("image/x-icon");
} else if (uri.endsWith(".svg")) {
response.setContentType("image/svg+xml");
} }
/* /*
* User or plugin themes * User or plugin themes

View File

@@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */ /** deprecated */
public final static String ID = "Monotone"; public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION; public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 23; public final static long BUILD = 24;
/** for example "-test" */ /** for example "-test" */
public final static String EXTRA = "-rc"; public final static String EXTRA = "-rc";