forked from I2P_Developers/i2p.i2p
Fix mime type for svg in themes directory
This commit is contained in:
@@ -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
|
||||||
|
@@ -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";
|
||||||
|
Reference in New Issue
Block a user